浏览代码

处理2170 bug
模板名称应该是唯一的,当前系统却可以保存相同名称的模板。(需求变动:当前模板列表中同时显示文本和智能模式下的所有模板)

wangfeng 5 年之前
父节点
当前提交
f15c9fbec5
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      icss-service/src/main/java/com/diagbot/facade/TemplateInfoFacade.java

+ 2 - 2
icss-service/src/main/java/com/diagbot/facade/TemplateInfoFacade.java

@@ -89,7 +89,7 @@ public class TemplateInfoFacade extends TemplateInfoServiceImpl {
         mapAll.put("hospital_id", templateInfoRevampVO.getHospitalId());
         mapAll.put("hospital_id", templateInfoRevampVO.getHospitalId());
         mapAll.put("is_deleted", IsDeleteEnum.N.getKey());
         mapAll.put("is_deleted", IsDeleteEnum.N.getKey());
         mapAll.put("name", templateInfoRevampVO.getModeName());
         mapAll.put("name", templateInfoRevampVO.getModeName());
-        mapAll.put("type", templateInfoRevampVO.getType());
+        //mapAll.put("type", templateInfoRevampVO.getType());
         templates.allEq(mapAll);
         templates.allEq(mapAll);
         TemplateInfo datas = getOne(templates);
         TemplateInfo datas = getOne(templates);
         if (datas != null) {
         if (datas != null) {
@@ -124,7 +124,7 @@ public class TemplateInfoFacade extends TemplateInfoServiceImpl {
         mapAll.put("hospital_id", templateInfosVO.getHospitalId());
         mapAll.put("hospital_id", templateInfosVO.getHospitalId());
         mapAll.put("is_deleted", IsDeleteEnum.N.getKey());
         mapAll.put("is_deleted", IsDeleteEnum.N.getKey());
         mapAll.put("name", templateInfosVO.getModeName());
         mapAll.put("name", templateInfosVO.getModeName());
-        mapAll.put("type", templateInfosVO.getModeType());
+        //mapAll.put("type", templateInfosVO.getModeType());
 
 
         templateInfoFand.allEq(mapAll);
         templateInfoFand.allEq(mapAll);
         int sum = count(templateInfoFand);
         int sum = count(templateInfoFand);