| | |
| | | public class BaseServiceDao extends AppBase { |
| | | |
| | | @Autowired |
| | | protected JedisPool jedisPool; |
| | | protected JedisPool jedisPool; |
| | | |
| | | |
| | | @Autowired |
| | | protected SqlSessionTemplate sqlSessionTemplate; |
| | |
| | | |
| | | public void setSessionTemplate(SqlSessionTemplate sqlSessionTemplate) { |
| | | this.sqlSessionTemplate = sqlSessionTemplate; |
| | | } |
| | | |
| | | public JedisPool getJedisPool() { |
| | | return jedisPool; |
| | | } |
| | | |
| | | public void setJedisPool(JedisPool jedisPool) { |
| | | this.jedisPool = jedisPool; |
| | | } |
| | | |
| | | private final static String SERVICE_CASE_JSON_EXCEPTION = "101";//转json异常 |
| | |
| | | } |
| | | return reqMap; |
| | | } |
| | | |
| | | public JedisPool getJedisPool() { |
| | | return jedisPool; |
| | | } |
| | | |
| | | public void setJedisPool(JedisPool jedisPool) { |
| | | this.jedisPool = jedisPool; |
| | | } |
| | | } |