Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nouiWithSpringMVC
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gechengyang
nouiWithSpringMVC
Commits
24d981f9
Commit
24d981f9
authored
Sep 21, 2020
by
tangzy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除无用的log
parent
e38f1a14
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
10 deletions
+20
-10
pom.xml
pom.xml
+16
-6
RedisUtil.java
src/main/java/org/sss/presentation/noui/util/RedisUtil.java
+4
-4
No files found.
pom.xml
View file @
24d981f9
...
@@ -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>
...
...
src/main/java/org/sss/presentation/noui/util/RedisUtil.java
View file @
24d981f9
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment