Ver Fonte

1.修改参数管理-获取参数分类

zjh há 2 anos atrás
pai
commit
821f5ad28d

+ 6 - 6
cbkj_web_api/src/main/resources/application.properties

@@ -1,13 +1,13 @@
 server.port=88
 
 #\u6570\u636E\u5E93\u914D\u7F6E
-#spring.datasource.primary.username = DgUfz0nYLCR7UJ66sgG1ag==
-#spring.datasource.primary.password = OPXCNabmBpi/FKayjb2kubBySH5LiQln
-#spring.datasource.primary.url=jdbc:mysql://47.111.67.16:3307/cbkj_web_api_dev?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
+spring.datasource.primary.username = DgUfz0nYLCR7UJ66sgG1ag==
+spring.datasource.primary.password = OPXCNabmBpi/FKayjb2kubBySH5LiQln
+spring.datasource.primary.url=jdbc:mysql://47.111.67.16:3307/cbkj_web_api_dev?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
 #
-spring.datasource.primary.username = RVYQ+dq7Z9GrSl0fYA8/Pw==
-spring.datasource.primary.password = WwkFHCZbwqYBWP/3a378oQ==
-spring.datasource.primary.url=jdbc:mysql://192.168.2.172:3306/cbkj_web_api_xindu?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
+#spring.datasource.primary.username = RVYQ+dq7Z9GrSl0fYA8/Pw==
+#spring.datasource.primary.password = WwkFHCZbwqYBWP/3a378oQ==
+#spring.datasource.primary.url=jdbc:mysql://192.168.2.172:3306/cbkj_web_api_xindu?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
 
 ## redis\u914D\u7F6E
 spring.redis.host = 47.114.47.147

+ 3 - 3
cbkj_web_api/src/main/resources/mappers/business/TSysParamMapper.xml

@@ -217,8 +217,8 @@ DEL_DATE,DEL_USER,DEL_USERNAME,IS_DEL,SEQN,PAR_CLASSIFY,PAR_NUMBER
     </select>
     <select id="getAllParamClassifyList" resultType="java.util.Map">
         select
-            PAR_NUMBER as parNumber
-        from t_sys_param where IS_DEL = '0'
-        GROUP BY PAR_NUMBER
+            PAR_CLASSIFY as parClassify
+        from t_sys_param where IS_DEL = '0' AND  PAR_CLASSIFY IS NOT NULL
+        GROUP BY PAR_CLASSIFY
     </select>
 </mapper>