Bladeren bron

医保修改

lighter_217 1 maand geleden
bovenliggende
commit
ff7d6512fb
1 gewijzigde bestanden met toevoegingen van 3 en 14 verwijderingen
  1. 3 14
      src/main/java/thyyxxk/simzfeeoprnsystm/service/SiMzFeeService.java

+ 3 - 14
src/main/java/thyyxxk/simzfeeoprnsystm/service/SiMzFeeService.java

@@ -113,7 +113,7 @@ public class SiMzFeeService {
         }
 
         ReadCardBizType readCardBizType = ReadCardBizType.get(p.getReadCardBizType());
-        if (readCardBizType != ReadCardBizType.REGISTRATION && !p.getInsuplcAdmdvs().startsWith("43")) {
+        if (readCardBizType != ReadCardBizType.REGISTRATION && !p.getInsuplcAdmdvs().startsWith("32")) {
             return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "省外异地的患者请读社保卡或医保电子凭证登记!");
         }
 
@@ -488,9 +488,9 @@ public class SiMzFeeService {
     }
 
     private Integer getCardType(String insplc) {
-        if (insplc.startsWith("4301")) {
+        if (insplc.startsWith("3213")) {
             return 1;
-        } else if (insplc.equals("439900")) {
+        } else if (insplc.equals("329900")) {
             return 2;
         }
         return 3;
@@ -984,15 +984,4 @@ public class SiMzFeeService {
         }
         return false;
     }
-
-    public void test() {
-        JSONObject input = exec.makeTradeHeaderWithInsureArea(SiFunction.REVOKE_OUTPATIENT_SETTLEMENT, "430105", "01897");
-        JSONObject data = new JSONObject();
-        data.put("setl_id", "421253439");
-        data.put("mdtrt_id", "758032270");
-        data.put("psn_no", "43000020100034025147");
-        input.getJSONObject("input").put("data", data);
-        JSONObject result = exec.executeTrade(input, SiFunction.REVOKE_OUTPATIENT_SETTLEMENT);
-        log.info("【操作员:01897】门诊结算撤销:\n参数:{},\n结果:{}",input, result);
-    }
 }