From c6a38919ce304de75fc1ee209652f2fa6af63cac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E9=87=91=E6=88=90?= <2693239786@qq.com> Date: Mon, 13 Nov 2023 09:23:00 +0800 Subject: [PATCH] update --- .../5aa79857db1807fe40f0941af9e17d8a19d8bc97 | 10 +++++++++ .../.idea/sonarlint/issuestore/index.pb | 16 +++++++------- .../sonarlint/securityhotspotstore/index.pb | 22 +++++++++---------- .../Entity/CancerInformationProcessed.java | 1 + .../Service/InformationQueryService.java | 10 +++++++++ .../xht/springboot/SpringbootApplication.java | 3 --- 6 files changed, 40 insertions(+), 22 deletions(-) diff --git a/src/medicine/.idea/sonarlint/issuestore/5/a/5aa79857db1807fe40f0941af9e17d8a19d8bc97 b/src/medicine/.idea/sonarlint/issuestore/5/a/5aa79857db1807fe40f0941af9e17d8a19d8bc97 index e69de29b..f9c7c6d4 100644 --- a/src/medicine/.idea/sonarlint/issuestore/5/a/5aa79857db1807fe40f0941af9e17d8a19d8bc97 +++ b/src/medicine/.idea/sonarlint/issuestore/5/a/5aa79857db1807fe40f0941af9e17d8a19d8bc97 @@ -0,0 +1,10 @@ + +{ java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(8؅ӵ1 +Z java:S106"9Replace this use of System.out or System.err by a logger.(8ӵ1 +H +java:S1075"&Remove this hard-coded path-delimiter.(8ӵ1 +P +java:S1128"3Remove this unused import 'java.io.BufferedReader'.(8ӵ1 +S +java:S1128 +"6Remove this unused import 'java.io.InputStreamReader'.(8ӵ1 \ No newline at end of file diff --git a/src/medicine/.idea/sonarlint/issuestore/index.pb b/src/medicine/.idea/sonarlint/issuestore/index.pb index 097b5f5e..b32b4177 100644 --- a/src/medicine/.idea/sonarlint/issuestore/index.pb +++ b/src/medicine/.idea/sonarlint/issuestore/index.pb @@ -1,10 +1,6 @@ B springboot/pom.xml,e\4\e46aee6c7c512a7b48980a296fca0acf004a1907 -| -Lspringboot/src/main/java/com/xht/springboot/Service/CancerDetectService.java,5\a\5aa79857db1807fe40f0941af9e17d8a19d8bc97 -v -Fspringboot/src/main/java/com/xht/springboot/SpringbootApplication.java,4\0\40324953a2003c0d6c6b3ceece38a620d48a0df7 { Kspringboot/src/test/java/com/xht/springboot/SpringbootApplicationTests.java,3\b\3b2df34c425c25ecc13e5e6f866bd6d388aaaf50 ` @@ -35,8 +31,6 @@ Xspringboot/src/main/java/com/xht/springboot/Utils/FuncInterFaces/QueryFunctionF Ospringboot/src/main/java/com/xht/springboot/Control/PersonalHomeController.java,b\e\be5bf7d32cedc052850e2cc0c99f2cf7357cac12 | Lspringboot/src/main/java/com/xht/springboot/Service/PersonalHomeService.java,7\6\762bc359bc75ba7b3073e784c826f31f6c989305 -w -Gspringboot/src/main/java/com/xht/springboot/Service/WebHomeService.java,5\f\5feb9f75e1bc678660918562fd0ce2745899be29 z Jspringboot/src/main/java/com/xht/springboot/Control/WebHomeController.java,e\d\edeacc9d294f3b307d4238fb3f381c6838218bb6 s @@ -67,8 +61,6 @@ y Ispringboot/src/main/java/com/xht/springboot/Entity/CancerInformation.java,b\5\b5e9edd6a873e8f600b989138d8c3c025f1b2893  Ospringboot/src/main/java/com/xht/springboot/Control/CancerDetectController.java,b\7\b7cd5493e06e5fd9d49343a72ed251284cff7045 - -Rspringboot/src/main/java/com/xht/springboot/Entity/CancerInformationProcessed.java,2\e\2e789a45bab29b515d553bcbc6fb93843b27bd70 y Ispringboot/src/main/java/com/xht/springboot/Utils/RedisAndDbOpsUtils.java,2\e\2e88797485b4a9bb730c7a3ee47a6bf0fd5d7447  @@ -79,5 +71,13 @@ E springboot/.gitignore,2\c\2c05bdd0aef78b83c2e6c20e1fe9e9d57e8a7f63 C springboot/mvnw.cmd,a\0\a027316d6320e979eb2d643acc8d7431b5899762 +w +Gspringboot/src/main/java/com/xht/springboot/Service/WebHomeService.java,5\f\5feb9f75e1bc678660918562fd0ce2745899be29 +| +Lspringboot/src/main/java/com/xht/springboot/Service/CancerDetectService.java,5\a\5aa79857db1807fe40f0941af9e17d8a19d8bc97 + +Rspringboot/src/main/java/com/xht/springboot/Entity/CancerInformationProcessed.java,2\e\2e789a45bab29b515d553bcbc6fb93843b27bd70 +v +Fspringboot/src/main/java/com/xht/springboot/SpringbootApplication.java,4\0\40324953a2003c0d6c6b3ceece38a620d48a0df7  Pspringboot/src/main/java/com/xht/springboot/Service/InformationQueryService.java,3\e\3e8390fc18f553cd8e40f74084a3622827076137 \ No newline at end of file diff --git a/src/medicine/.idea/sonarlint/securityhotspotstore/index.pb b/src/medicine/.idea/sonarlint/securityhotspotstore/index.pb index 3e41ba06..b32b4177 100644 --- a/src/medicine/.idea/sonarlint/securityhotspotstore/index.pb +++ b/src/medicine/.idea/sonarlint/securityhotspotstore/index.pb @@ -1,10 +1,6 @@ B springboot/pom.xml,e\4\e46aee6c7c512a7b48980a296fca0acf004a1907 -| -Lspringboot/src/main/java/com/xht/springboot/Service/CancerDetectService.java,5\a\5aa79857db1807fe40f0941af9e17d8a19d8bc97 -v -Fspringboot/src/main/java/com/xht/springboot/SpringbootApplication.java,4\0\40324953a2003c0d6c6b3ceece38a620d48a0df7 { Kspringboot/src/test/java/com/xht/springboot/SpringbootApplicationTests.java,3\b\3b2df34c425c25ecc13e5e6f866bd6d388aaaf50 ` @@ -35,8 +31,6 @@ Xspringboot/src/main/java/com/xht/springboot/Utils/FuncInterFaces/QueryFunctionF Ospringboot/src/main/java/com/xht/springboot/Control/PersonalHomeController.java,b\e\be5bf7d32cedc052850e2cc0c99f2cf7357cac12 | Lspringboot/src/main/java/com/xht/springboot/Service/PersonalHomeService.java,7\6\762bc359bc75ba7b3073e784c826f31f6c989305 -w -Gspringboot/src/main/java/com/xht/springboot/Service/WebHomeService.java,5\f\5feb9f75e1bc678660918562fd0ce2745899be29 z Jspringboot/src/main/java/com/xht/springboot/Control/WebHomeController.java,e\d\edeacc9d294f3b307d4238fb3f381c6838218bb6 s @@ -67,17 +61,23 @@ y Ispringboot/src/main/java/com/xht/springboot/Entity/CancerInformation.java,b\5\b5e9edd6a873e8f600b989138d8c3c025f1b2893  Ospringboot/src/main/java/com/xht/springboot/Control/CancerDetectController.java,b\7\b7cd5493e06e5fd9d49343a72ed251284cff7045 - -Rspringboot/src/main/java/com/xht/springboot/Entity/CancerInformationProcessed.java,2\e\2e789a45bab29b515d553bcbc6fb93843b27bd70 y Ispringboot/src/main/java/com/xht/springboot/Utils/RedisAndDbOpsUtils.java,2\e\2e88797485b4a9bb730c7a3ee47a6bf0fd5d7447  Sspringboot/src/main/java/com/xht/springboot/Control/InformationQueryController.java,2\b\2b64f726d758544a03ab9287b407bfd77c4179b3 - -Pspringboot/src/main/java/com/xht/springboot/Service/InformationQueryService.java,3\e\3e8390fc18f553cd8e40f74084a3622827076137 ? springboot/mvnw,0\9\09333a471984b28a4cd4526d1125b33c56b2495d E springboot/.gitignore,2\c\2c05bdd0aef78b83c2e6c20e1fe9e9d57e8a7f63 C -springboot/mvnw.cmd,a\0\a027316d6320e979eb2d643acc8d7431b5899762 \ No newline at end of file +springboot/mvnw.cmd,a\0\a027316d6320e979eb2d643acc8d7431b5899762 +w +Gspringboot/src/main/java/com/xht/springboot/Service/WebHomeService.java,5\f\5feb9f75e1bc678660918562fd0ce2745899be29 +| +Lspringboot/src/main/java/com/xht/springboot/Service/CancerDetectService.java,5\a\5aa79857db1807fe40f0941af9e17d8a19d8bc97 + +Rspringboot/src/main/java/com/xht/springboot/Entity/CancerInformationProcessed.java,2\e\2e789a45bab29b515d553bcbc6fb93843b27bd70 +v +Fspringboot/src/main/java/com/xht/springboot/SpringbootApplication.java,4\0\40324953a2003c0d6c6b3ceece38a620d48a0df7 + +Pspringboot/src/main/java/com/xht/springboot/Service/InformationQueryService.java,3\e\3e8390fc18f553cd8e40f74084a3622827076137 \ No newline at end of file diff --git a/src/medicine/springboot/src/main/java/com/xht/springboot/Entity/CancerInformationProcessed.java b/src/medicine/springboot/src/main/java/com/xht/springboot/Entity/CancerInformationProcessed.java index 1db29aaa..75c150da 100644 --- a/src/medicine/springboot/src/main/java/com/xht/springboot/Entity/CancerInformationProcessed.java +++ b/src/medicine/springboot/src/main/java/com/xht/springboot/Entity/CancerInformationProcessed.java @@ -16,4 +16,5 @@ public class CancerInformationProcessed { private String[] factor; private String[] judge; private String[] heal; + private String totalStr; } diff --git a/src/medicine/springboot/src/main/java/com/xht/springboot/Service/InformationQueryService.java b/src/medicine/springboot/src/main/java/com/xht/springboot/Service/InformationQueryService.java index 6dc07acf..2d514256 100644 --- a/src/medicine/springboot/src/main/java/com/xht/springboot/Service/InformationQueryService.java +++ b/src/medicine/springboot/src/main/java/com/xht/springboot/Service/InformationQueryService.java @@ -36,6 +36,7 @@ public class InformationQueryService { List results = redisAndDbOpsUtils.queryNoFilter(cancerInformationCacheName, token, cancerInformationLockName, queryFunctionForDB, token); List res = new ArrayList<>(); + StringBuilder totalStr = new StringBuilder(); for(int i=0;i