Prechádzať zdrojové kódy

经典病例后台功能添加(bug修改)

xiewei 10 mesiacov pred
rodič
commit
07be1c0b01

+ 5 - 5
cdssman-service/src/main/java/com/diagbot/facade/KlConceptStaticFacade.java

@@ -66,7 +66,7 @@ public class KlConceptStaticFacade extends KlConceptStaticServiceImpl {
     }
 
     /**
-     * 经典病检索
+     * 经典病检索
      *
      * @param staticKnowledgeIndexVO
      * @return
@@ -140,7 +140,7 @@ public class KlConceptStaticFacade extends KlConceptStaticServiceImpl {
     }
 
     /**
-     * 经典病分页查询
+     * 经典病分页查询
      *
      * @param klClassicCasePageVO
      * @return
@@ -194,7 +194,7 @@ public class KlConceptStaticFacade extends KlConceptStaticServiceImpl {
     }
 
     /**
-     * 保存病(新增or修改)
+     * 保存病(新增or修改)
      *
      * @param klClassicCaseVO
      * @return
@@ -234,7 +234,7 @@ public class KlConceptStaticFacade extends KlConceptStaticServiceImpl {
     }
 
     /**
-     * 经典病启用禁用
+     * 经典病启用禁用
      *
      * @param changeStatusVO
      * @return
@@ -271,7 +271,7 @@ public class KlConceptStaticFacade extends KlConceptStaticServiceImpl {
     }
 
     /**
-     * 根据经典病id获取病例信息
+     * 根据经典病id获取病例信息
      *
      * @param idVO
      * @return

+ 6 - 6
cdssman-service/src/main/java/com/diagbot/web/ConceptInfoController.java

@@ -69,8 +69,8 @@ public class ConceptInfoController {
         return RespDTO.onSuc(data);
     }
 
-    @ApiOperation(value = "获取经典病列表",
-            notes = "type: 类型:11经典病例 <br>" +
+    @ApiOperation(value = "获取经典病列表",
+            notes = "type: 类型:11-经典病历 <br>" +
                     "name: 术语名称<br>" +
                     "status: 启用状态:1-启用、0-禁用<br>")
     @PostMapping("/getClassicCase")
@@ -97,10 +97,10 @@ public class ConceptInfoController {
         return RespDTO.onSuc(data);
     }
 
-    @ApiOperation(value = "保存经典病-新增或修改",
+    @ApiOperation(value = "保存经典病-新增或修改",
             notes = "id: id <br>" +
                     "name: 术语名称 <br>" +
-                    "type: 类型:11-经典病  <br>" +
+                    "type: 类型:11-经典病  <br>" +
                     "clinicalPathwayName: 临床路径名称<br>" +
                     "noticeName: 注意事项名称<br>" +
                     "source:数据来源:0-医院端、1-云平台,默认0 <br>" +
@@ -125,7 +125,7 @@ public class ConceptInfoController {
         return RespDTO.onSuc(data);
     }
 
-    @ApiOperation(value = "经典病启用禁用",
+    @ApiOperation(value = "经典病启用禁用",
             notes = "id: 术语id <br>" +
                     "status: 启用状态:1-启用、0-禁用<br>")
     @PostMapping("/changeCaseStatus")
@@ -155,7 +155,7 @@ public class ConceptInfoController {
         return RespDTO.onSuc(data);
     }
 
-    @ApiOperation(value = "根据经典病例id获取病例信息[zhaops]",
+    @ApiOperation(value = "根据经典病历id获取病历信息[zhaops]",
             notes = "id: 术语id <br>")
     @PostMapping("/getCaseById")
     @SysLogger("getCaseById")

+ 2 - 2
cdssman-service/src/main/java/com/diagbot/web/MappingConfigController.java

@@ -129,12 +129,12 @@ public class MappingConfigController {
         return RespDTO.onSuc(data);
     }
 
-    @ApiOperation(value = "分页查询经典病",
+    @ApiOperation(value = "分页查询经典病",
             notes = "hospitalId(必填):医院id <br>" +
                     "isMatch(选填,默认全部):是否匹配(0-未匹配、1-已匹配、2-多条匹配) <br>" +
                     "hisName(必填):医院术语名称 <br>" +
                     "uniqueName(选填,可为空):标准术语名称 <br>" +
-                    "type(必填): 类型:17-经典病例 <br>")
+                    "type(必填): 类型:11-经典病例 <br>")
     @PostMapping("/getClassicCase")
     @SysLogger("getClassicCase")
     public RespDTO<Page<MappingCaseWrapper>> getClassicCase(@RequestBody @Valid MappingConfigPageVO mappingConfigPageVO) {

+ 1 - 1
cdssman-service/src/main/resources/bootstrap.yml

@@ -9,7 +9,7 @@ spring:
         enabled: true
         serviceId: config-server
   profiles:
-    active: local
+    active: dev
 
 eureka:
   client:

+ 9 - 9
config-server/src/main/resources/shared/cdssman-service-dev.yml

@@ -52,17 +52,17 @@ spring:
         master:
           driver-class-name: com.mysql.cj.jdbc.Driver
           platform: mysql
-          url: jdbc:mysql://192.168.2.236:3306/cdss?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false&allowMultiQueries=true&rewriteBatchedStatements=true
+          url: jdbc:mysql://173.18.12.194:3306/cdss?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false&allowMultiQueries=true&rewriteBatchedStatements=true
           username: root
-          password: lantone
+          password: dsYun8!@#
           druid:
             initial-size: 5
         med:
           driver-class-name: com.mysql.cj.jdbc.Driver
           platform: mysql
-          url: jdbc:mysql://192.168.2.236:3306/med_2021?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false&allowMultiQueries=true&rewriteBatchedStatements=true
+          url: jdbc:mysql://173.18.12.194:3306/med_2021?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false&allowMultiQueries=true&rewriteBatchedStatements=true
           username: root
-          password: lantone
+          password: dsYun8!@#
           druid:
             initial-size: 5
 
@@ -76,10 +76,10 @@ spring:
 
   #mq
   rabbitmq:
-    host: 192.168.2.236
+    host: 173.18.12.191
     port: 5672
-    username: lantone
-    password: lantone
+    username: root
+    password: guest
     publisher-confirms: true
     virtual-host: /
 
@@ -143,8 +143,8 @@ imageUrl:
 
 #CDSS核心地址
 cdss-core:
-  url: http://192.168.2.236:7010
+  url: http://localhost:7010
 
 #CDSS服务地址
 cdss:
-  url: http://192.168.2.236:6060
+  url: http://localhost:6060

+ 5 - 5
config-server/src/main/resources/shared/uaa-service-dev.yml

@@ -4,9 +4,9 @@ spring:
     druid:
       driver-class-name: com.mysql.cj.jdbc.Driver
       platform: mysql
-      url: jdbc:mysql://192.168.2.236:3306/sys-user?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
+      url: jdbc:mysql://173.18.12.194:3306/sys-user?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
       username: root
-      password: lantone
+      password: dsYun8!@#
       # 连接池的配置信息
       # 初始化大小,最小,最大
       initialSize: 5
@@ -49,10 +49,10 @@ spring:
 
   #mq
   rabbitmq:
-    host: 192.168.2.236
+    host: 173.18.12.191
     port: 5672
-    username: lantone
-    password: lantone
+    username: root
+    password: guest
     publisher-confirms: true
     virtual-host: /
 

+ 7 - 7
config-server/src/main/resources/shared/user-service-dev.yml

@@ -7,9 +7,9 @@ spring:
     druid:
       driver-class-name: com.mysql.cj.jdbc.Driver
       platform: mysql
-      url: jdbc:mysql://192.168.2.236:3306/sys-user?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
+      url: jdbc:mysql://173.18.12.194:3306/sys-user?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
       username: root
-      password: lantone
+      password: dsYun8!@#
       # 连接池的配置信息
       # 初始化大小,最小,最大
       initialSize: 5
@@ -59,10 +59,10 @@ spring:
 
   #mq
   rabbitmq:
-    host: 192.168.2.236
+    host: 173.18.12.191
     port: 5672
-    username: lantone
-    password: lantone
+    username: root
+    password: guest
     publisher-confirms: true
     virtual-host: /
 
@@ -74,9 +74,9 @@ spring:
       sms: 2 # Redis短信索引
       img: 3 # Redis图片验证码索引
       token: 4 # Token索引
-    host: 192.168.2.236  #Redis服务器地址
+    host: 173.18.12.194  #Redis服务器地址
     port: 6379 # Redis服务器连接端口
-    password: lantone # Redis服务器连接密码(默认为空)
+    password:  # Redis服务器连接密码(默认为空)
     lettuce:
       pool:
         max-active: 8 # 连接池最大连接数(使用负值表示没有限制)

+ 1 - 1
uaa-service/src/main/resources/bootstrap.yml

@@ -9,7 +9,7 @@ spring:
         enabled: true
         serviceId: config-server
   profiles:
-    active: local
+    active: dev
   main:
     allow-bean-definition-overriding: true
 

+ 1 - 1
user-service/src/main/resources/bootstrap.yml

@@ -9,7 +9,7 @@ spring:
         enabled: true
         serviceId: config-server
   profiles:
-    active: local
+    active: dev
 
 eureka:
   client: