Bläddra i källkod

优化政策项。

lighter 3 år sedan
förälder
incheckning
8a80cc96ae

+ 1 - 1
pom.xml

@@ -10,7 +10,7 @@
     </parent>
     <groupId>thyyxxk</groupId>
     <artifactId>web-server</artifactId>
-    <version>10.6.8</version>
+    <version>10.6.9</version>
     <name>web-server</name>
     <description>server for yibao-web</description>
     <properties>

+ 6 - 0
src/main/java/thyyxxk/webserver/constants/sidicts/PolItemCode.java

@@ -41,12 +41,18 @@ public enum PolItemCode {
 
     EWBZDED("AB02", "额外补助第二段"),
 
+    YLBZQFBZ("YBS1", "医疗补助起付标准"),
+
     YLBZDYD("YB01", "医疗补助第一段"),
 
     YLBZDED("YB02", "医疗补助第二段"),
 
+    DEYD("L001", "大额一段"),
+
     CBFY("E000", "超标费用"),
 
+    ZWZL("S000", "转外自理"),
+
     JBYLCFDD("EC01", "基本医疗超封顶段");
 
     private final String code;

+ 7 - 9
src/main/java/thyyxxk/webserver/service/medicalinsurance/SiQueryService.java

@@ -881,14 +881,6 @@ public class SiQueryService {
             selfPaySum = selfPaySum.add(selfPayAmt);
             fundPaySum = fundPaySum.add(fundPayAmt);
 
-            if (itm.getString("polItemName").trim().equals("大额一段")) {
-                lst.setBigAmtFrstLvPsnAmt(selfPayAmt);
-                lst.setBigAmtFrstLvPsnProp(selfPayProp);
-                lst.setBigAmtFrstLvFundAmt(fundPayAmt);
-                lst.setBigAmtFrstLvFundProp(fundPayProp);
-                lst.setBigAmtFrstLvSum(polItemPaySum);
-            }
-
             PolItemCode polItemCode = PolItemCode.get(itm.getString("polItemCode"));
             if (null == polItemCode) {
                 String message = String.format("找到了字典缺失的政策项:%s", itm);
@@ -896,7 +888,6 @@ public class SiQueryService {
                 wxsrvc.sendCorpWxMsg("2801", message);
                 continue;
             }
-
             switch (polItemCode) {
                 case QZF:
                     lst.setSelfPayPsnAmt(selfPayAmt);
@@ -940,6 +931,13 @@ public class SiQueryService {
                     lst.setFundScndLvFundProp(fundPayProp);
                     lst.setFundScndLvSum(polItemPaySum);
                     break;
+                case DEYD:
+                    lst.setBigAmtFrstLvPsnAmt(selfPayAmt);
+                    lst.setBigAmtFrstLvPsnProp(selfPayProp);
+                    lst.setBigAmtFrstLvFundAmt(fundPayAmt);
+                    lst.setBigAmtFrstLvFundProp(fundPayProp);
+                    lst.setBigAmtFrstLvSum(polItemPaySum);
+                    break;
             }
         }
         lst.setAllPsnAmt(selfPaySum);