فهرست منبع

加强录入的校验

xiaochan 5 ماه پیش
والد
کامیت
6f2925026e

+ 3 - 1
src/main/java/thyyxxk/webserver/service/inpatient/xmlr/XiangMuLuRuService.java

@@ -414,6 +414,8 @@ public class XiangMuLuRuService {
         }
         if (StringUtil.isBlank(param.getDept())) {
             errorStr.append("申请科室为空 <br />");
+        } else if (param.getDept().startsWith("8")) {
+            errorStr.append("申请科室为病区请刷新页面<br />");
         }
         if (StringUtil.isBlank(param.getZySerialNo())) {
             errorStr.append("住院流水号为空 <br />");
@@ -576,7 +578,7 @@ public class XiangMuLuRuService {
         Integer ledgerSn = publicServer.getLedgerSn(inpatientNo, admissTimes);
 
         // 没有必要限制科室了
-        List<String> keShiLeiBiao =  new ArrayList<>();
+        List<String> keShiLeiBiao = new ArrayList<>();
 
         // 获取正的医嘱费用
         List<ZyDetailCharge> getYiZhuFeiYongZhenShu = dao.getYiZhuFeiYong(inpatientNo, admissTimes, ledgerSn, ">", infantFlag, keShiLeiBiao);

+ 4 - 0
src/main/java/thyyxxk/webserver/service/zhuyuanyisheng/YiZhuLuRuServer.java

@@ -13,7 +13,10 @@ import org.apache.ibatis.session.ExecutorType;
 import org.apache.ibatis.session.SqlSession;
 import org.apache.ibatis.session.SqlSessionFactory;
 import org.jetbrains.annotations.NotNull;
+import org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider;
+import org.springframework.core.type.filter.AnnotationTypeFilter;
 import org.springframework.stereotype.Service;
+import thyyxxk.webserver.aop.interfaces.NeedMenu;
 import thyyxxk.webserver.config.exception.BizException;
 import thyyxxk.webserver.config.exception.ExceptionEnum;
 import thyyxxk.webserver.constants.sidicts.ChargeStatus;
@@ -41,6 +44,7 @@ import thyyxxk.webserver.service.zhuyuanyisheng.yizhuverify.Repel;
 import thyyxxk.webserver.service.zhuyuanyisheng.yizhuverify.YiZhuCheckData;
 import thyyxxk.webserver.utils.*;
 
+import java.lang.annotation.Annotation;
 import java.math.BigDecimal;
 import java.util.*;
 import java.util.stream.Collectors;