lighter 2 years ago
parent
commit
74e4a76f0f

+ 1 - 12
src/main/java/thyyxxk/webserver/service/medicalinsurance/SiManageService.java

@@ -231,7 +231,7 @@ public class SiManageService {
                         unfoundTempList.add(setl.getVisitId());
                     }
                 }
-                if (unfoundTempList.size() == 0) {
+                if (unfoundTempList.isEmpty()) {
                     return ResultVoUtil.success("对账结果:平。对账结果说明:结算笔数:" + setlBrfs.size());
                 }
                 int offset = 0;
@@ -258,17 +258,6 @@ public class SiManageService {
             return ResultVoUtil.success("对账结果:平。对账结果说明:结算笔数:" + hisBrfs.size() +
                     ",医疗费总额:" + instStlLdgChk.getMedfeeSumamt() + ",基金支付总额:" + instStlLdgChk.getFundPaySumamt());
 
-//            InstStlLdgChk hisLdgChk = new InstStlLdgChk();
-//            fillInstStlLdgChk(hisLdgChk, hisBrfs);
-//            if (hisLdgChk.getMedfeeSumamt().compareTo(instStlLdgChk.getMedfeeSumamt()) == 0 &&
-//                hisLdgChk.getFundPaySumamt().compareTo(instStlLdgChk.getFundPaySumamt()) == 0) {
-//                return ResultVoUtil.success("对账结果:平。对账结果说明:结算笔数:" + hisBrfs.size() +
-//                        ",医疗费总额:" + hisLdgChk.getMedfeeSumamt() + ",基金支付总额:" + hisLdgChk.getFundPaySumamt());
-//            }
-//            return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR,
-//                    "对账结果:不平。对账结果说明:医保结算笔数:" + setlBrfs.size() + ",HIS结算笔数:" + hisBrfs.size() +
-//                            ";医保医疗费总额:" + instStlLdgChk.getMedfeeSumamt() + ",HIS医疗费总额:" + hisLdgChk.getMedfeeSumamt() +
-//                            ";医保基金支付总额:" + instStlLdgChk.getFundPaySumamt() + ";HIS基金支付总额:" + hisLdgChk.getFundPaySumamt());
         }
 
         if (null != instStlLdgChk.getAcctPayFlag() && instStlLdgChk.getAcctPayFlag() == 2) {