Commit 24d981f9 by tangzy

删除无用的log

parent e38f1a14
...@@ -108,6 +108,21 @@ ...@@ -108,6 +108,21 @@
<systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/eibs-pojosupport-2.0.0.jar</systemPath> <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/eibs-pojosupport-2.0.0.jar</systemPath>
</dependency> </dependency>
<dependency>
<groupId>org.sss</groupId>
<artifactId>eibs-hibernatesupport</artifactId>
<version>2.0.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/eibs-hibernatesupport-2.0.0.jar</systemPath>
</dependency>
<dependency>
<groupId>cfca.integration</groupId>
<artifactId>SADK</artifactId>
<version>3.2.0.5</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/SADK-3.2.0.5.jar</systemPath>
</dependency>
<!-- <dependency> <!-- <dependency>
<groupId>org.sss</groupId> <groupId>org.sss</groupId>
<artifactId>eibs-pojosupport</artifactId> <artifactId>eibs-pojosupport</artifactId>
...@@ -299,7 +314,7 @@ ...@@ -299,7 +314,7 @@
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<version>3.8.1</version> <version>4.12</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
...@@ -313,11 +328,6 @@ ...@@ -313,11 +328,6 @@
<version>${log4j2.version}</version> <version>${log4j2.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>cfca.integration</groupId>
<artifactId>SADK</artifactId>
<version>3.2.0.5</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId> <groupId>com.alibaba</groupId>
<artifactId>druid</artifactId> <artifactId>druid</artifactId>
<version>1.1.23</version> <version>1.1.23</version>
......
...@@ -46,25 +46,25 @@ public class RedisUtil { ...@@ -46,25 +46,25 @@ public class RedisUtil {
public static RedisTemplate<String, Object> getRedisConnection() { public static RedisTemplate<String, Object> getRedisConnection() {
if (master.equals("redisAPA")) { if (master.equals("redisAPA")) {
log.info("getRedisMaster redisAPA1"); // log.info("getRedisMaster redisAPA1");
if (getRedisMaster(redisAPA)) { if (getRedisMaster(redisAPA)) {
log.info("getRedisMaster redisAPA"); log.info("getRedisMaster redisAPA");
setMaster("redisAPA"); setMaster("redisAPA");
return redisAPA; return redisAPA;
} else { } else {
log.info("getRedisMaster redisAPB"); // log.info("getRedisMaster redisAPB");
setMaster("redisAPB"); setMaster("redisAPB");
} }
} }
if (master.equals("redisAPB")) { if (master.equals("redisAPB")) {
log.info("getRedisMaster redisAPB1"); // log.info("getRedisMaster redisAPB1");
if (getRedisMaster(redisAPB)) { if (getRedisMaster(redisAPB)) {
setMaster("redisAPB"); setMaster("redisAPB");
log.info("getRedisMaster redisAPB"); log.info("getRedisMaster redisAPB");
return redisAPB; return redisAPB;
} else { } else {
setMaster("redisAPA"); setMaster("redisAPA");
log.info("getRedisMaster redisAPA"); // log.info("getRedisMaster redisAPA");
} }
} }
return null; return null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment