Browse Source

诊断依据后台维护提示信息修改

kongwz 5 years ago
parent
commit
754c7a04cd

+ 2 - 2
graphdb/src/main/java/org/diagbot/service/impl/KnowledgeServiceImpl.java

@@ -1441,7 +1441,7 @@ public class    KnowledgeServiceImpl implements KnowledgeService {
         if(StringUtils.isNotEmpty(disName)){
             diseaseRepository.mergeDis(disName,disId,0);
         }else {
-            respDTO = RespDTO.onError("在数据库中没有找到"+disName+"这个疾病!!");
+            respDTO = RespDTO.onError("在数据库中没有找到这个疾病!!");
         }
 
         //获取每个诊断依据的全部数据
@@ -2073,7 +2073,7 @@ public class    KnowledgeServiceImpl implements KnowledgeService {
             connect.close();
             respDTO = RespDTO.onSuc(true);
         }else {
-            respDTO = RespDTO.onError(disId +" 删除失败!!!");
+            respDTO = RespDTO.onError(" 删除失败!!!");
         }
         } catch (SQLException e) {
             e.printStackTrace();