xiangjincheng_branch
向金成 2 years ago
parent 7dd938ec90
commit f6dc51c287

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: ch.qos.logback:logback-classic:1.4.8">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/ch/qos/logback/logback-classic/1.4.8/logback-classic-1.4.8.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/ch/qos/logback/logback-classic/1.4.8/logback-classic-1.4.8-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/ch/qos/logback/logback-classic/1.4.8/logback-classic-1.4.8-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: com.google.code.gson:gson:2.10.1">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/google/code/gson/gson/2.10.1/gson-2.10.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/google/code/gson/gson/2.10.1/gson-2.10.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/com/google/code/gson/gson/2.10.1/gson-2.10.1-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: io.lettuce:lettuce-core:6.2.5.RELEASE">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/lettuce/lettuce-core/6.2.5.RELEASE/lettuce-core-6.2.5.RELEASE.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/lettuce/lettuce-core/6.2.5.RELEASE/lettuce-core-6.2.5.RELEASE-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/lettuce/lettuce-core/6.2.5.RELEASE/lettuce-core-6.2.5.RELEASE-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: io.netty:netty-buffer:4.1.94.Final">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-buffer/4.1.94.Final/netty-buffer-4.1.94.Final.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-buffer/4.1.94.Final/netty-buffer-4.1.94.Final-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-buffer/4.1.94.Final/netty-buffer-4.1.94.Final-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: io.netty:netty-codec:4.1.94.Final">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-codec/4.1.94.Final/netty-codec-4.1.94.Final.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-codec/4.1.94.Final/netty-codec-4.1.94.Final-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-codec/4.1.94.Final/netty-codec-4.1.94.Final-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: io.netty:netty-common:4.1.94.Final">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-common/4.1.94.Final/netty-common-4.1.94.Final.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-common/4.1.94.Final/netty-common-4.1.94.Final-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-common/4.1.94.Final/netty-common-4.1.94.Final-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: io.netty:netty-handler:4.1.94.Final">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-handler/4.1.94.Final/netty-handler-4.1.94.Final.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-handler/4.1.94.Final/netty-handler-4.1.94.Final-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-handler/4.1.94.Final/netty-handler-4.1.94.Final-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: io.netty:netty-resolver:4.1.94.Final">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-resolver/4.1.94.Final/netty-resolver-4.1.94.Final.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-resolver/4.1.94.Final/netty-resolver-4.1.94.Final-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-resolver/4.1.94.Final/netty-resolver-4.1.94.Final-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: io.netty:netty-transport:4.1.94.Final">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-transport/4.1.94.Final/netty-transport-4.1.94.Final.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-transport/4.1.94.Final/netty-transport-4.1.94.Final-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-transport/4.1.94.Final/netty-transport-4.1.94.Final-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: io.netty:netty-transport-native-unix-common:4.1.94.Final">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-transport-native-unix-common/4.1.94.Final/netty-transport-native-unix-common-4.1.94.Final.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-transport-native-unix-common/4.1.94.Final/netty-transport-native-unix-common-4.1.94.Final-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/netty/netty-transport-native-unix-common/4.1.94.Final/netty-transport-native-unix-common-4.1.94.Final-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: io.projectreactor:reactor-core:3.5.8">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/projectreactor/reactor-core/3.5.8/reactor-core-3.5.8.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/projectreactor/reactor-core/3.5.8/reactor-core-3.5.8-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/io/projectreactor/reactor-core/3.5.8/reactor-core-3.5.8-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.apache.commons:commons-pool2:2.11.1">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/apache/commons/commons-pool2/2.11.1/commons-pool2-2.11.1.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/apache/commons/commons-pool2/2.11.1/commons-pool2-2.11.1-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/apache/commons/commons-pool2/2.11.1/commons-pool2-2.11.1-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.aspectj:aspectjweaver:1.9.19">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/aspectj/aspectjweaver/1.9.19/aspectjweaver-1.9.19.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/aspectj/aspectjweaver/1.9.19/aspectjweaver-1.9.19-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/aspectj/aspectjweaver/1.9.19/aspectjweaver-1.9.19-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.json:json:20220320">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/json/json/20220320/json-20220320.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/json/json/20220320/json-20220320-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/json/json/20220320/json-20220320-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.reactivestreams:reactive-streams:1.0.4">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/reactivestreams/reactive-streams/1.0.4/reactive-streams-1.0.4.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/reactivestreams/reactive-streams/1.0.4/reactive-streams-1.0.4-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/reactivestreams/reactive-streams/1.0.4/reactive-streams-1.0.4-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.springframework.boot:spring-boot-configuration-processor:3.1.2">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-configuration-processor/3.1.2/spring-boot-configuration-processor-3.1.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-configuration-processor/3.1.2/spring-boot-configuration-processor-3.1.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-configuration-processor/3.1.2/spring-boot-configuration-processor-3.1.2-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.springframework.boot:spring-boot-starter-aop:3.1.2">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-starter-aop/3.1.2/spring-boot-starter-aop-3.1.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-starter-aop/3.1.2/spring-boot-starter-aop-3.1.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-starter-aop/3.1.2/spring-boot-starter-aop-3.1.2-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.springframework.boot:spring-boot-starter-cache:3.1.2">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-starter-cache/3.1.2/spring-boot-starter-cache-3.1.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-starter-cache/3.1.2/spring-boot-starter-cache-3.1.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-starter-cache/3.1.2/spring-boot-starter-cache-3.1.2-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.springframework.boot:spring-boot-starter-data-redis:3.1.2">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-starter-data-redis/3.1.2/spring-boot-starter-data-redis-3.1.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-starter-data-redis/3.1.2/spring-boot-starter-data-redis-3.1.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-starter-data-redis/3.1.2/spring-boot-starter-data-redis-3.1.2-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.springframework.boot:spring-boot-starter-redis:1.4.7.RELEASE">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-starter-redis/1.4.7.RELEASE/spring-boot-starter-redis-1.4.7.RELEASE.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-starter-redis/1.4.7.RELEASE/spring-boot-starter-redis-1.4.7.RELEASE-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/boot/spring-boot-starter-redis/1.4.7.RELEASE/spring-boot-starter-redis-1.4.7.RELEASE-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.springframework.data:spring-data-commons:3.1.2">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/data/spring-data-commons/3.1.2/spring-data-commons-3.1.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/data/spring-data-commons/3.1.2/spring-data-commons-3.1.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/data/spring-data-commons/3.1.2/spring-data-commons-3.1.2-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.springframework.data:spring-data-keyvalue:3.1.2">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/data/spring-data-keyvalue/3.1.2/spring-data-keyvalue-3.1.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/data/spring-data-keyvalue/3.1.2/spring-data-keyvalue-3.1.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/data/spring-data-keyvalue/3.1.2/spring-data-keyvalue-3.1.2-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.springframework.data:spring-data-redis:3.1.2">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/data/spring-data-redis/3.1.2/spring-data-redis-3.1.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/data/spring-data-redis/3.1.2/spring-data-redis-3.1.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/data/spring-data-redis/3.1.2/spring-data-redis-3.1.2-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.springframework:spring-context-support:6.0.11">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/spring-context-support/6.0.11/spring-context-support-6.0.11.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/spring-context-support/6.0.11/spring-context-support-6.0.11-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/spring-context-support/6.0.11/spring-context-support-6.0.11-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: org.springframework:spring-oxm:6.0.11">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/spring-oxm/6.0.11/spring-oxm-6.0.11.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/spring-oxm/6.0.11/spring-oxm-6.0.11-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/org/springframework/spring-oxm/6.0.11/spring-oxm-6.0.11-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Maven: redis.clients:jedis:4.3.2">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/redis/clients/jedis/4.3.2/jedis-4.3.2.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/redis/clients/jedis/4.3.2/jedis-4.3.2-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$PROJECT_DIR$/../../../../Maven/repository/redis/clients/jedis/4.3.2/jedis-4.3.2-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -1,2 +1,2 @@
t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(³Ãôíþÿÿÿÿ
{ java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(³Ãôíþÿÿÿÿ8ÎúŸ¬1

@ -1,4 +0,0 @@
{ java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(³Ãôíþÿÿÿÿ8£ƒï¥1
M
java:S1128 "+Remove this unused import 'java.util.List'.(Õë±Äøÿÿÿÿ8¥ƒï¥1

@ -1,4 +0,0 @@
{ java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(³Ãôíþÿÿÿÿ8¨ì<C2A8>Ð¥1
V
java:S1128"9Remove this unused import 'org.apache.ibatis.type.Alias'.(’´´÷8½Í»Ð¥1

@ -1,2 +1,2 @@
{ java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(±ÖÀ—úÿÿÿÿ8ž¦ìˆ©1
{ java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(±ÖÀ—úÿÿÿÿ8ëÍɳ¬1

@ -1,2 +1,2 @@
t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(³Ãôíþÿÿÿÿ
{ java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(³Ãôíþÿÿÿÿ8—Îû³¬1

@ -1,11 +1,21 @@
{ java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(<28>Ž×Úýÿÿÿÿ8œù¹ˆ©1
Z java:S106 "9Replace this use of System.out or System.err by a logger.(»œ¯µÿÿÿÿÿ8©ù¹ˆ©1
U java:S106+"9Replace this use of System.out or System.err by a logger.(ÁÞˆ<C39E>8ªù¹ˆ©1
U java:S1066"9Replace this use of System.out or System.err by a logger.(ÁÉã™8«ù¹ˆ©1
Z java:S106L"9Replace this use of System.out or System.err by a logger.(‹žˆ¢úÿÿÿÿ8¬ù¹ˆ©1
Z java:S106W"9Replace this use of System.out or System.err by a logger.(㘘¨þÿÿÿÿ8­ù¹ˆ©1
U java:S106b"9Replace this use of System.out or System.err by a logger.(¼‘œ8®ù¹ˆ©1
T java:S106r"9Replace this use of System.out or System.err by a logger.(Ü<>Å8®ù¹ˆ©1
U java:S106}"9Replace this use of System.out or System.err by a logger.(žðíÔºˆ©1
V java:S106ˆ"9Replace this use of System.out or System.err by a logger.(³¦É‚8©±¼ˆ©1
Q
java:S3740"/Provide the parametrized type for this generic.(£ü‰üÿÿÿÿÿ8àüɸ¬1
{ java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(<28>Ž×Úýÿÿÿÿ8áüɸ¬1
Z java:S106,"9Replace this use of System.out or System.err by a logger.(»œ¯µÿÿÿÿÿ8ðüɸ¬1
Z java:S106-"9Replace this use of System.out or System.err by a logger.(˼ü™ûÿÿÿÿ8ðüɸ¬1
U java:S106="9Replace this use of System.out or System.err by a logger.(ÁÞˆ<C39E>8ñüɸ¬1
U java:S106K"9Replace this use of System.out or System.err by a logger.(ÁÉã™8òüɸ¬1
Z java:S106b"9Replace this use of System.out or System.err by a logger.(‹žˆ¢úÿÿÿÿ8òüɸ¬1
T java:S106c"9Replace this use of System.out or System.err by a logger.(ÇÆ´78òüɸ¬1
Z java:S106r"9Replace this use of System.out or System.err by a logger.(㘘¨þÿÿÿÿ8óüɸ¬1
U java:S106"9Replace this use of System.out or System.err by a logger.(¼‘œ8ôüɸ¬1
U java:S106<18>"9Replace this use of System.out or System.err by a logger.(Ü<>Å8ôüɸ¬1
[ java:S106<18>"9Replace this use of System.out or System.err by a logger.(£äЯùÿÿÿÿ8ôüɸ¬1
V java:S106Ÿ"9Replace this use of System.out or System.err by a logger.(žðíÔ8õüɸ¬1
V java:S106¬"9Replace this use of System.out or System.err by a logger.(³¦É‚8õüɸ¬1
n
java:S1128 "LRemove this unused import 'org.springframework.cache.annotation.CacheEvict'.(½Á¨ˆøÿÿÿÿ8öüɸ¬1
l
java:S1128
"JRemove this unused import 'org.springframework.cache.annotation.CachePut'.(ý≠þÿÿÿÿ8öüɸ¬1

@ -0,0 +1,20 @@
` java:S112$"FDefine and throw a dedicated exception instead of using a generic one.(Ò‚Òéüÿÿÿÿ
k java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(£ç¡¾øÿÿÿÿ
f java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(¸Îų
k java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(¡Ìâƒùÿÿÿÿ
t
java:S2142#"^Either re-interrupt this method or rethrow the "InterruptedException" that can be caught here.(ä ¹€
N java:S106"9Replace this use of System.out or System.err by a logger.(ËÙ̓
R
java:S1128"7Remove this unused import 'org.python.core.PyFunction'.(È忎üÿÿÿÿ
P
java:S1128"5Remove this unused import 'org.python.core.PyObject'.(ÿ¯½Öûÿÿÿÿ
P
java:S1128"5Remove this unused import 'org.python.core.PyString'.(Ü”®<E2809D>ûÿÿÿÿ
T
java:S1128">Remove this unused import 'org.python.util.PythonInterpreter'.(ü‡â©
M
java:S1128"7Remove this unused import 'javax.imageio.IIOException'.(´ÂÏ’
F
java:S1128 "0Remove this unused import 'java.util.ArrayList'.(÷‰îƒ

@ -1,4 +1,4 @@
t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(³Ãôíþÿÿÿÿ
{ java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(³Ãôíþÿÿÿÿ8ó᪸¬1
M
java:S1128"+Remove this unused import 'java.util.List'.(Õë±Äøÿÿÿÿ8€­ä¦1
java:S1128 "+Remove this unused import 'java.util.List'.(Õë±Äøÿÿÿÿ8õ᪸¬1

@ -0,0 +1,8 @@
{ java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(­œ¡ üÿÿÿÿ×Ò¸¬1
l
java:S1128"ORemove this unused import 'org.springframework.beans.factory.annotation.Value'.(ìø<C3B8>×Ò¸¬1
r
java:S1128 "PRemove this unused import 'org.springframework.web.bind.annotation.RequestBody'.(â­½Àýÿÿÿÿ×Ò¸¬1
F
java:S1128")Remove this unused import 'java.io.File'.(†Ð¥Å×Ò¸¬1

@ -1,2 +1,7 @@
{ java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(­œ¡ üÿÿÿÿ8µÖ<C2B5>¿©1
{ java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(­œ¡ üÿÿÿÿš·¬1
h
java:S1128 "KRemove this unused import 'org.springframework.cache.annotation.Cacheable'.(ݺؓ8Šëฬ1
p
java:S1128
"NRemove this unused import 'org.springframework.data.redis.core.RedisTemplate'.(–ª¡Çøÿÿÿÿ8Œëฬ1

@ -3,16 +3,8 @@ w
Gspringboot/src/main/java/com/xht/springboot/Dao/PersonalHomeMapper.java,8\e\8ea61bcc473345da7a8363076b3ae562bc76fedc
z
Jspringboot/src/main/java/com/xht/springboot/pythonspider/PythonSpider.java,8\2\82d065e13dbb46b69838db763af0105eec47337f
p
@springboot/src/main/java/com/xht/springboot/Entity/UserHome.java,0\b\0bf6f777ae20a7657065bc4a2b2a9f1f3b4876b1
{
Kspringboot/src/main/java/com/xht/springboot/Dao/LoginAndRegisterMapper.java,6\4\6455addaf8475c1ee66ddf019aba9934cde58b33
q
Aspringboot/src/main/java/com/xht/springboot/Entity/UserLogin.java,1\3\139a0da36daad8c438a5607ee212d1f38a505779
q
Aspringboot/src/main/java/com/xht/springboot/Entity/UserReply.java,0\5\051eaf551b928a8ccf651611c070ebb2b8155264
|
Lspringboot/src/main/java/com/xht/springboot/Service/PersonalHomeService.java,7\6\762bc359bc75ba7b3073e784c826f31f6c989305
m
=train_cancer/test_information/train_model_and_load_picture.py,b\c\bc14878c6e46b0ed0df34c90b21fc25660f0e1f1
W
@ -23,33 +15,45 @@ X
-train_cancer/train_model/gpu_cpu/check_cpu.py,f\6\f61ac2808b4dc885ec9d8e0a2e3a842098bfb484
`
0train_cancer/train_model/data_gen/data_output.py,6\9\69a341fae4073fedbb8b01a3b078c3012c70ce5f

Ospringboot/src/main/java/com/xht/springboot/Control/PersonalHomeController.java,b\e\be5bf7d32cedc052850e2cc0c99f2cf7357cac12
p
@springboot/src/main/java/com/xht/springboot/Entity/UserText.java,4\0\40a2343a36c9747fa26c52f19f82c0a493b5c2e0
s
Cspringboot/src/main/java/com/xht/springboot/Entity/UserComment.java,9\3\932ae6b8f9f42f924c25e69e48dc30fddd63ec28
r
Bspringboot/src/main/java/com/xht/springboot/Dao/WebHomeMapper.java,2\a\2ad2a1260dac6c01c8b352bb0e2ca62f513676a9
z
Jspringboot/src/main/java/com/xht/springboot/Control/WebHomeController.java,e\d\edeacc9d294f3b307d4238fb3f381c6838218bb6
ƒ
Sspringboot/src/main/java/com/xht/springboot/Control/LoginAndRegisterController.java,4\2\42d62ad23989879b1e669e84287f32b9ec3b7df5
w
Gspringboot/src/main/java/com/xht/springboot/Service/WebHomeService.java,5\f\5feb9f75e1bc678660918562fd0ce2745899be29
}
Mspringboot/src/main/java/com/xht/springboot/Control/GetSpiderInformation.java,6\a\6ae8bd6e0b13a9d9272e5cd44460d2d0a72091d9
B
springboot/pom.xml,e\4\e46aee6c7c512a7b48980a296fca0acf004a1907
^
.test_model/src/main/java/org/example/Main.java,7\f\7f8771ebddaacf6a70143dc43243816aa7f7e066
r
Bspringboot/src/main/java/com/xht/springboot/Tip/RequestResult.java,8\a\8ac776bbbb6e77f29694ccc4476b533f9f4573da
|
Lspringboot/src/main/java/com/xht/springboot/Service/CancerDetectService.java,5\a\5aa79857db1807fe40f0941af9e17d8a19d8bc97
C
springboot/mvnw.cmd,a\0\a027316d6320e979eb2d643acc8d7431b5899762
B
test_model/pom.xml,c\5\c5247f1a7a8da981f49c6fe2b5fc0ba5e9b426bb
p
@springboot/src/main/java/com/xht/springboot/Entity/UserHome.java,0\b\0bf6f777ae20a7657065bc4a2b2a9f1f3b4876b1
q
Aspringboot/src/main/java/com/xht/springboot/Entity/UserLogin.java,1\3\139a0da36daad8c438a5607ee212d1f38a505779
B
springboot/pom.xml,e\4\e46aee6c7c512a7b48980a296fca0acf004a1907
r
Bspringboot/src/main/java/com/xht/springboot/Tip/RequestResult.java,8\a\8ac776bbbb6e77f29694ccc4476b533f9f4573da
v
Fspringboot/src/main/java/com/xht/springboot/SpringbootApplication.java,4\0\40324953a2003c0d6c6b3ceece38a620d48a0df7
Bspringboot/src/main/java/com/xht/springboot/Dao/WebHomeMapper.java,2\a\2ad2a1260dac6c01c8b352bb0e2ca62f513676a9
s
Cspringboot/src/main/java/com/xht/springboot/Config/RedisConfig.java,0\3\03febb48c6f14848416295ea77d17704b452f798
p
@springboot/src/main/java/com/xht/springboot/Entity/UserText.java,4\0\40a2343a36c9747fa26c52f19f82c0a493b5c2e0
s
Cspringboot/src/main/java/com/xht/springboot/Entity/UserComment.java,9\3\932ae6b8f9f42f924c25e69e48dc30fddd63ec28
q
Aspringboot/src/main/java/com/xht/springboot/Entity/UserReply.java,0\5\051eaf551b928a8ccf651611c070ebb2b8155264
w
Gspringboot/src/main/java/com/xht/springboot/Service/WebHomeService.java,5\f\5feb9f75e1bc678660918562fd0ce2745899be29

Ospringboot/src/main/java/com/xht/springboot/Control/CancerDetectController.java,b\7\b7cd5493e06e5fd9d49343a72ed251284cff7045
z
Jspringboot/src/main/java/com/xht/springboot/Control/WebHomeController.java,e\d\edeacc9d294f3b307d4238fb3f381c6838218bb6

Ospringboot/src/main/java/com/xht/springboot/Control/PersonalHomeController.java,b\e\be5bf7d32cedc052850e2cc0c99f2cf7357cac12
|
Lspringboot/src/main/java/com/xht/springboot/Service/CancerDetectService.java,5\a\5aa79857db1807fe40f0941af9e17d8a19d8bc97
Lspringboot/src/main/java/com/xht/springboot/Service/PersonalHomeService.java,7\6\762bc359bc75ba7b3073e784c826f31f6c989305
v
Fspringboot/src/main/java/com/xht/springboot/SpringbootApplication.java,4\0\40324953a2003c0d6c6b3ceece38a620d48a0df7
ƒ
Sspringboot/src/main/java/com/xht/springboot/Control/LoginAndRegisterController.java,4\2\42d62ad23989879b1e669e84287f32b9ec3b7df5

@ -3,16 +3,8 @@ w
Gspringboot/src/main/java/com/xht/springboot/Dao/PersonalHomeMapper.java,8\e\8ea61bcc473345da7a8363076b3ae562bc76fedc
z
Jspringboot/src/main/java/com/xht/springboot/pythonspider/PythonSpider.java,8\2\82d065e13dbb46b69838db763af0105eec47337f
p
@springboot/src/main/java/com/xht/springboot/Entity/UserHome.java,0\b\0bf6f777ae20a7657065bc4a2b2a9f1f3b4876b1
q
Aspringboot/src/main/java/com/xht/springboot/Entity/UserLogin.java,1\3\139a0da36daad8c438a5607ee212d1f38a505779
{
Kspringboot/src/main/java/com/xht/springboot/Dao/LoginAndRegisterMapper.java,6\4\6455addaf8475c1ee66ddf019aba9934cde58b33
q
Aspringboot/src/main/java/com/xht/springboot/Entity/UserReply.java,0\5\051eaf551b928a8ccf651611c070ebb2b8155264
|
Lspringboot/src/main/java/com/xht/springboot/Service/PersonalHomeService.java,7\6\762bc359bc75ba7b3073e784c826f31f6c989305
m
=train_cancer/test_information/train_model_and_load_picture.py,b\c\bc14878c6e46b0ed0df34c90b21fc25660f0e1f1
W
@ -23,33 +15,45 @@ X
-train_cancer/train_model/gpu_cpu/check_cpu.py,f\6\f61ac2808b4dc885ec9d8e0a2e3a842098bfb484
`
0train_cancer/train_model/data_gen/data_output.py,6\9\69a341fae4073fedbb8b01a3b078c3012c70ce5f
}
Mspringboot/src/main/java/com/xht/springboot/Control/GetSpiderInformation.java,6\a\6ae8bd6e0b13a9d9272e5cd44460d2d0a72091d9
^
.test_model/src/main/java/org/example/Main.java,7\f\7f8771ebddaacf6a70143dc43243816aa7f7e066
r
Bspringboot/src/main/java/com/xht/springboot/Tip/RequestResult.java,8\a\8ac776bbbb6e77f29694ccc4476b533f9f4573da
|
Lspringboot/src/main/java/com/xht/springboot/Service/CancerDetectService.java,5\a\5aa79857db1807fe40f0941af9e17d8a19d8bc97
C
springboot/mvnw.cmd,a\0\a027316d6320e979eb2d643acc8d7431b5899762
B
test_model/pom.xml,c\5\c5247f1a7a8da981f49c6fe2b5fc0ba5e9b426bb
v
Fspringboot/src/main/java/com/xht/springboot/SpringbootApplication.java,4\0\40324953a2003c0d6c6b3ceece38a620d48a0df7
p
@springboot/src/main/java/com/xht/springboot/Entity/UserHome.java,0\b\0bf6f777ae20a7657065bc4a2b2a9f1f3b4876b1
q
Aspringboot/src/main/java/com/xht/springboot/Entity/UserLogin.java,1\3\139a0da36daad8c438a5607ee212d1f38a505779
B
springboot/pom.xml,e\4\e46aee6c7c512a7b48980a296fca0acf004a1907
r
Bspringboot/src/main/java/com/xht/springboot/Dao/WebHomeMapper.java,2\a\2ad2a1260dac6c01c8b352bb0e2ca62f513676a9

Ospringboot/src/main/java/com/xht/springboot/Control/PersonalHomeController.java,b\e\be5bf7d32cedc052850e2cc0c99f2cf7357cac12
s
Cspringboot/src/main/java/com/xht/springboot/Entity/UserComment.java,9\3\932ae6b8f9f42f924c25e69e48dc30fddd63ec28
Cspringboot/src/main/java/com/xht/springboot/Config/RedisConfig.java,0\3\03febb48c6f14848416295ea77d17704b452f798
p
@springboot/src/main/java/com/xht/springboot/Entity/UserText.java,4\0\40a2343a36c9747fa26c52f19f82c0a493b5c2e0
z
Jspringboot/src/main/java/com/xht/springboot/Control/WebHomeController.java,e\d\edeacc9d294f3b307d4238fb3f381c6838218bb6
s
Cspringboot/src/main/java/com/xht/springboot/Entity/UserComment.java,9\3\932ae6b8f9f42f924c25e69e48dc30fddd63ec28
q
Aspringboot/src/main/java/com/xht/springboot/Entity/UserReply.java,0\5\051eaf551b928a8ccf651611c070ebb2b8155264
w
Gspringboot/src/main/java/com/xht/springboot/Service/WebHomeService.java,5\f\5feb9f75e1bc678660918562fd0ce2745899be29
ƒ
Sspringboot/src/main/java/com/xht/springboot/Control/LoginAndRegisterController.java,4\2\42d62ad23989879b1e669e84287f32b9ec3b7df5
}
Mspringboot/src/main/java/com/xht/springboot/Control/GetSpiderInformation.java,6\a\6ae8bd6e0b13a9d9272e5cd44460d2d0a72091d9
B
springboot/pom.xml,e\4\e46aee6c7c512a7b48980a296fca0acf004a1907
^
.test_model/src/main/java/org/example/Main.java,7\f\7f8771ebddaacf6a70143dc43243816aa7f7e066
B
test_model/pom.xml,c\5\c5247f1a7a8da981f49c6fe2b5fc0ba5e9b426bb

Ospringboot/src/main/java/com/xht/springboot/Control/CancerDetectController.java,b\7\b7cd5493e06e5fd9d49343a72ed251284cff7045
r
Bspringboot/src/main/java/com/xht/springboot/Tip/RequestResult.java,8\a\8ac776bbbb6e77f29694ccc4476b533f9f4573da
v
Fspringboot/src/main/java/com/xht/springboot/SpringbootApplication.java,4\0\40324953a2003c0d6c6b3ceece38a620d48a0df7
|
Lspringboot/src/main/java/com/xht/springboot/Service/CancerDetectService.java,5\a\5aa79857db1807fe40f0941af9e17d8a19d8bc97
Lspringboot/src/main/java/com/xht/springboot/Service/PersonalHomeService.java,7\6\762bc359bc75ba7b3073e784c826f31f6c989305
z
Jspringboot/src/main/java/com/xht/springboot/Control/WebHomeController.java,e\d\edeacc9d294f3b307d4238fb3f381c6838218bb6

Ospringboot/src/main/java/com/xht/springboot/Control/PersonalHomeController.java,b\e\be5bf7d32cedc052850e2cc0c99f2cf7357cac12
ƒ
Sspringboot/src/main/java/com/xht/springboot/Control/LoginAndRegisterController.java,4\2\42d62ad23989879b1e669e84287f32b9ec3b7df5

@ -35,6 +35,37 @@
<version>8.0.31</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-redis</artifactId>
<version>1.4.7.RELEASE</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-cache</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>

@ -0,0 +1,40 @@
package com.xht.springboot.Config;
import org.springframework.boot.autoconfigure.cache.CacheProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.cache.RedisCacheConfiguration;
import org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.serializer.*;
import java.util.Collection;
@Configuration
public class RedisConfig {
@Bean
public RedisCacheConfiguration redisCacheConfiguration(){
RedisCacheConfiguration config = RedisCacheConfiguration.defaultCacheConfig();
config = config.serializeKeysWith(RedisSerializationContext.SerializationPair.fromSerializer(new StringRedisSerializer()));
config = config.serializeValuesWith(RedisSerializationContext.SerializationPair.fromSerializer(new GenericJackson2JsonRedisSerializer()));
return config;
}
@Bean
public RedisTemplate redisTemplate(LettuceConnectionFactory lettuceConnectionFactory){
RedisTemplate redisTemplate = new RedisTemplate();
redisTemplate.setConnectionFactory(lettuceConnectionFactory);
redisTemplate.setKeySerializer(RedisSerializer.string());
redisTemplate.setValueSerializer(RedisSerializer.json());
redisTemplate.setHashKeySerializer(RedisSerializer.string());
redisTemplate.setHashValueSerializer(RedisSerializer.json());
redisTemplate.afterPropertiesSet();
return redisTemplate;
}
}

@ -13,6 +13,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
import java.util.List;
@Controller
@RequestMapping("user")
public class PersonalHomeController {
@Autowired
PersonalHomeService personalHomeService;
@ -20,7 +21,7 @@ public class PersonalHomeController {
@Autowired
RequestResult requestResult;
@RequestMapping("/getpersonahomedata")
@RequestMapping("/getuserhomedata")
@ResponseBody
public UserHome getPersonalHomeData(int uid){
return personalHomeService.getUserHomeData(uid);

@ -6,6 +6,8 @@ import com.xht.springboot.Entity.UserText;
import com.xht.springboot.Service.WebHomeService;
import com.xht.springboot.Tip.RequestResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
@ -148,7 +150,7 @@ public class WebHomeController {
@PostMapping("/findreply")
@ResponseBody
public List<UserReply> selectReply(@RequestBody UserReply userReply){
return webHomeService.selectUserReply(userReply);
public UserReply selectReply(@RequestParam("id") int replyId){
return webHomeService.selectUserReply(replyId);
}
}

@ -54,7 +54,7 @@ public interface WebHomeMapper {
public int updateUserReply(UserReply userReply);
public List<UserReply> selectUserReply(UserReply userReply);
public UserReply selectUserReply(int id);

@ -5,11 +5,12 @@ import lombok.Data;
import lombok.ToString;
import org.springframework.stereotype.Component;
import java.io.Serializable;
import java.util.List;
@Data
@ToString
@Component
public class UserComment {
public class UserComment implements Serializable {
private int commentid;
private int textid;

@ -5,13 +5,14 @@ import lombok.Data;
import lombok.ToString;
import org.springframework.stereotype.Component;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
@Data
@ToString
@Component
public class UserHome {
public class UserHome implements Serializable {
private int uid;
//用户累计使用网站时间

@ -6,10 +6,12 @@ import lombok.ToString;
import org.apache.ibatis.type.Alias;
import org.springframework.stereotype.Component;
import java.io.Serializable;
@Component
@Data
@ToString
public class UserLogin {
public class UserLogin implements Serializable {
private int uid;
private String uname;
private String upassword;

@ -5,10 +5,12 @@ import lombok.Data;
import lombok.ToString;
import org.springframework.stereotype.Component;
import java.io.Serializable;
@Component
@Data
@ToString
public class UserReply {
public class UserReply implements Serializable {
private int replyid;
private int commentid;

@ -5,13 +5,14 @@ import lombok.Data;
import lombok.ToString;
import org.springframework.stereotype.Component;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
@Data
@ToString
@Component
public class UserText {
public class UserText implements Serializable {
private int textid;
private int uid;

@ -5,6 +5,7 @@ import com.xht.springboot.Dao.PersonalHomeMapper;
import com.xht.springboot.Entity.UserHome;
import com.xht.springboot.Entity.UserText;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;
import java.util.List;
@ -14,11 +15,14 @@ public class PersonalHomeService {
@Autowired
PersonalHomeMapper personalHomeMapper;
//获得用户主页数据
@Cacheable(cacheNames = "userData",key = "#p0")
public UserHome getUserHomeData(int uid){
return personalHomeMapper.findById(uid);
}
@Cacheable(cacheNames = "userTxtByUid",key = "#p0")
public List<UserText> getUserTexts(int uid){
return personalHomeMapper.findTexts(uid);
}

@ -6,6 +6,10 @@ import com.xht.springboot.Entity.UserComment;
import com.xht.springboot.Entity.UserReply;
import com.xht.springboot.Entity.UserText;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.CachePut;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@ -15,28 +19,42 @@ import java.util.List;
public class WebHomeService {
@Autowired
WebHomeMapper webHomeMapper;
@Autowired
RedisTemplate redisTemplate;
String userTxtCacheName = "userTxt::";
String userCmtCacheName = "userCmt::";
String userReplyCacheName = "userReply::";
//获得所有文章除了评论的回复
@Cacheable(cacheNames = "userTxt&Cmt")
public List<UserText> getWebHomeData(){
return webHomeMapper.findAllTextAndComments();
}
@Cacheable(cacheNames = "userRepliesOfCmt",key = "#p0")
public List<UserReply> getUserReplies(int commentid){
return webHomeMapper.findRepliesByCommentId(commentid);
}
public boolean postUserText(UserText userText){
int rows=0;
rows = webHomeMapper.insertUserText(userText);
if(rows >= 1){
System.out.println("insert text OK "+rows);
System.out.println("textid "+userText.getTextid());
redisTemplate.opsForValue().set(userTxtCacheName+userText.getTextid(),userText);//写入缓存
return true;
}else{
return false;
}
}
public boolean deleteUserText(UserText userText){
redisTemplate.opsForValue().getAndDelete(userTxtCacheName+userText.getTextid());//先删除缓存中数据
int rows=0;
rows = webHomeMapper.deleteUserText(userText);
if(rows >= 1){
@ -47,7 +65,10 @@ public class WebHomeService {
}
}
public boolean updateUserText(UserText userText){
redisTemplate.opsForValue().getAndDelete(userTxtCacheName+userText.getTextid());//先删除缓存中数据
int rows=0;
rows = webHomeMapper.updateUserText(userText);
if(rows >= 1){
@ -59,6 +80,7 @@ public class WebHomeService {
}
@Transactional
@Cacheable(cacheNames = "userFindTxt",key = "#p0")
public List<UserText> findUserText(String token){
List<UserText> results = null;
results = webHomeMapper.findOfTextContains(token);//查询文本中是否包含
@ -74,6 +96,9 @@ public class WebHomeService {
rows = webHomeMapper.insertUserComment(userComment);
if(rows >= 1){
System.out.println("insert comment OK "+rows);
System.out.println("commentid "+userComment.getCommentid());
redisTemplate.opsForValue().set(userCmtCacheName+userComment.getCommentid(),userComment);
return true;
}else{
return false;
@ -81,6 +106,8 @@ public class WebHomeService {
}
public boolean deleteUserComment(UserComment userComment){
redisTemplate.opsForValue().getAndDelete(userCmtCacheName+userComment.getCommentid());
int rows=0;
rows = webHomeMapper.deleteUserComment(userComment);
if(rows >= 1){
@ -92,6 +119,8 @@ public class WebHomeService {
}
public boolean updateUserComment(UserComment userComment){
redisTemplate.opsForValue().getAndDelete(userCmtCacheName+userComment.getCommentid());
int rows=0;
rows = webHomeMapper.updateUserComment(userComment);
if(rows >= 1){
@ -112,6 +141,9 @@ public class WebHomeService {
rows = webHomeMapper.insertUserReply(userReply);
if(rows >= 1){
System.out.println("insert reply OK "+rows);
System.out.println("replyid "+userReply.getReplyid());
redisTemplate.opsForValue().set(userReplyCacheName+userReply.getReplyid(),userReply);
return true;
}else{
return false;
@ -119,6 +151,8 @@ public class WebHomeService {
}
public boolean deleteUserReply(UserReply userReply){
redisTemplate.opsForValue().getAndDelete(userReplyCacheName+userReply.getReplyid());
int rows=0;
rows = webHomeMapper.deleteUserReply(userReply);
if(rows >= 1){
@ -130,6 +164,8 @@ public class WebHomeService {
}
public boolean updateUserReply(UserReply userReply){
redisTemplate.opsForValue().getAndDelete(userReplyCacheName+userReply.getReplyid());
int rows=0;
rows = webHomeMapper.updateUserReply(userReply);
if(rows >= 1){
@ -140,7 +176,8 @@ public class WebHomeService {
}
}
public List<UserReply> selectUserReply(UserReply userReply){
return webHomeMapper.selectUserReply(userReply);
@Cacheable(cacheNames = "userReply",key = "#p0")
public UserReply selectUserReply(int id){
return webHomeMapper.selectUserReply(id);
}
}

@ -3,10 +3,12 @@ package com.xht.springboot;
import com.xht.springboot.pythonspider.PythonSpider;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import java.util.ArrayList;
@SpringBootApplication
@EnableCaching
public class SpringbootApplication {
public static void main(String[] args) {

@ -1,13 +1,23 @@
mybatis:
config-location: classpath:mybatis/db1/mybatis_config.xml
mapper-locations:
- classpath:mybatis/db1/*Mapper.xml
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/medicine_web
username: root
password: molong
data:
redis:
password: molong
port: 6390
host: 192.168.225.128
lettuce:
pool:
max-wait: -1
min-idle: 0
max-active: 8
max-idle: 8
mybatis:
config-location: classpath:mybatis/db1/mybatis_config.xml
mapper-locations:
- classpath:mybatis/db1/*Mapper.xml

@ -21,7 +21,7 @@
</collection>
</resultMap>
<select id="findAllTextAndComments" resultMap="findAllResult">
<select id="findAllTextAndComments" resultMap="findAllResult" resultType="com.xht.springboot.Entity.UserText">
select *,t.uid tuid,c.uid cuid from usertexts t,usercomments c where t.textid = c.textid
</select>
@ -33,7 +33,7 @@
<insert id="insertUserText" parameterType="com.xht.springboot.Entity.UserText">
<insert id="insertUserText" parameterType="com.xht.springboot.Entity.UserText" useGeneratedKeys="true" keyProperty="textid" keyColumn="textid">
insert into usertexts(uid,title,text,createtime) values(#{uid},#{title},#{text},#{createtime})
</insert>
@ -72,7 +72,7 @@
<insert id="insertUserComment" parameterType="com.xht.springboot.Entity.UserComment">
<insert id="insertUserComment" parameterType="com.xht.springboot.Entity.UserComment" useGeneratedKeys="true" keyProperty="commentid" keyColumn="commentid">
insert into usercomments(textid,uid,comment) values(#{textid},#{uid},#{comment})
</insert>
@ -97,7 +97,7 @@
<insert id="insertUserReply" parameterType="com.xht.springboot.Entity.UserReply">
<insert id="insertUserReply" parameterType="com.xht.springboot.Entity.UserReply" useGeneratedKeys="true" keyProperty="replyid" keyColumn="replyid">
insert into userreplies(commentid,text) values(#{commentid},#{text})
</insert>
@ -118,7 +118,7 @@
where replyid=#{replyid}
</update>
<select id="selectUserReply" parameterType="com.xht.springboot.Entity.UserReply">
select * from userreplies where replyid=#{replyid}
<select id="selectUserReply" parameterType="int" resultType="com.xht.springboot.Entity.UserReply">
select * from userreplies where replyid=#{int}
</select>
</mapper>
Loading…
Cancel
Save