|
|
@@ -21,7 +21,8 @@ import java.util.logging.Logger;
|
|
|
public class BaseServiceDao extends AppBase {
|
|
|
|
|
|
@Autowired
|
|
|
- protected JedisPool jedisPool;
|
|
|
+ protected JedisPool jedisPool;
|
|
|
+
|
|
|
|
|
|
@Autowired
|
|
|
protected SqlSessionTemplate sqlSessionTemplate;
|
|
|
@@ -35,14 +36,6 @@ public class BaseServiceDao extends AppBase {
|
|
|
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异常
|
|
|
|
|
|
/**
|
|
|
@@ -106,4 +99,12 @@ public class BaseServiceDao extends AppBase {
|
|
|
}
|
|
|
return reqMap;
|
|
|
}
|
|
|
+
|
|
|
+ public JedisPool getJedisPool() {
|
|
|
+ return jedisPool;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setJedisPool(JedisPool jedisPool) {
|
|
|
+ this.jedisPool = jedisPool;
|
|
|
+ }
|
|
|
}
|