Browse Source

Merge branch 'master' of https://gitlab.taihe.com/lighter/web-server

xiaochan 3 years ago
parent
commit
0ce591ae11

+ 6 - 6
src/main/java/thyyxxk/webserver/service/casefrontsheet/VerifyCaseFrontSheet.java

@@ -160,16 +160,16 @@ public class VerifyCaseFrontSheet {
             array.add(new PureCodeName("rh","患者Rh血型不能为空!"));
         }
         if (StringUtil.isBlank(info.getDeptLeader())) {
-            array.add(new PureCodeName("deptLeader","科主任不能为空!"));
+            array.add(new PureCodeName("deptLeaderName","科主任不能为空!"));
         }
         if (StringUtil.isBlank(info.getLeaderDoctor())) {
-            array.add(new PureCodeName("leaderDoctor","主任(副主任)医师不能为空!"));
+            array.add(new PureCodeName("leaderDoctorName","主任(副主任)医师不能为空!"));
         }
         if (StringUtil.isBlank(info.getMainDoctor())) {
-            array.add(new PureCodeName("mainDoctor","主治医师不能为空!"));
+            array.add(new PureCodeName("mainDoctorName","主治医师不能为空!"));
         }
         if (StringUtil.isBlank(info.getAdmissDoctor())) {
-            array.add(new PureCodeName("admissDoctor","住院医师不能为空!"));
+            array.add(new PureCodeName("admissDoctorName","住院医师不能为空!"));
         }
         if (StringUtil.isBlank(info.getQualityControlLevel())) {
             array.add(new PureCodeName("qualityControlLevel","病案质量不能为空!"));
@@ -181,7 +181,7 @@ public class VerifyCaseFrontSheet {
             array.add(new PureCodeName("admissAgainInOneMonth","患者是否有出院31天内再住院计划不能为空!"));
         }
         if (StringUtil.isBlank(info.getQualityControlDoctor())) {
-            array.add(new PureCodeName("qualityControlDoctor","质控医生不能为空!"));
+            array.add(new PureCodeName("qualityControlDoctorName","质控医生不能为空!"));
         }
         if (StringUtil.isBlank(info.getCaseClassification())) {
             array.add(new PureCodeName("caseClassification","病例分型不能为空!"));
@@ -297,7 +297,7 @@ public class VerifyCaseFrontSheet {
         }
         if (needHurtReason(info.getDisdiagList().get(0).getCode()) &&
                 (StringUtil.isBlank(info.getHurtReasonName()) || StringUtil.isBlank(info.getHurtReasonCode()))) {
-            array.add(new PureCodeName("hurtReasonCode","根据患者出院主要诊断,损伤中毒诊断不能为空!"));
+            array.add(new PureCodeName("hurtReasonName","根据患者出院主要诊断,损伤中毒诊断不能为空!"));
         }
         if (StringUtil.notBlank(info.getBloodType()) && !"5".equals(info.getBloodType()) &&
                 ("1".equals(info.getRh())  && "2".equals(info.getRh()))) {