Browse Source

修复空指针

yeguodong 1 week ago
parent
commit
07e388d26f

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

@@ -1465,7 +1465,7 @@ public class SiQueryService {
                 map.replace("totalScnd", map.get("totalScnd").add(BigDecimal.valueOf(itm.getChargeFee())));
             }
             String typeKey = itm.getMedChrgitmType();
-            if (!typeKey.equals("09") && !typeKey.equals("11")) {
+            if (!"09".equals(typeKey) && !"11".equals(typeKey)) {
                 map.replace("othSum", map.get("othSum").add(BigDecimal.valueOf(itm.getChargeFee())));
                 if (itm.getChrgitmLv().equals(ChrgitmLv.SELF_PAY.getCode())) {
                     map.replace("othThrd", map.get("othThrd").add(BigDecimal.valueOf(itm.getChargeFee())));