Browse Source

结算业务增加医保钱包支付业务

837390164@qq.com 3 tháng trước cách đây
mục cha
commit
0e30b3e553
1 tập tin đã thay đổi với 7 bổ sung7 xóa
  1. 7 7
      Business/IrisServices.cs

+ 7 - 7
Business/IrisServices.cs

@@ -730,8 +730,8 @@ namespace PTMedicalInsurance.Business
             decimal ybAmt, psnAcctAmt, hospAmt, psnCashAmt, medFee, commercialReimamt, commercialRenflag;
             try
             {
-                //JObject joExpContent = JObject.Parse(JsonHelper.getDestValue(jo, "exp_content"));
-                //Global.Set.wltpayAmt = JsonHelper.getDestValue(joExpContent, "medIns_wallet_pay");
+                JObject joExpContent = JObject.Parse(JsonHelper.getDestValue(jo, "exp_content"));
+                Global.Set.wltpayAmt = JsonHelper.getDestValue(joExpContent, "medIns_wallet_pay");    
 
                 commercialRenflag = getFee(jo, "commercial_renflag"); //商保支付标志
                 commercialReimamt = getFee(jo, "commercial_reimamt"); //商保支付金额 50
@@ -748,8 +748,8 @@ namespace PTMedicalInsurance.Business
                       + getFee(jo, "hifob_pay") //职工大额医疗费用补助
                       + getFee(jo, "cvlserv_pay") //公务员医疗补助
                       + getFee(jo, "maf_pay") //医疗救助基金支出
-                      + getFee(jo, "oth_pay");  //其他支出        500
-                      //+ decimal.Parse(Global.Set.wltpayAmt); //医保钱包支付金额
+                      + getFee(jo, "oth_pay")  //其他支出        500
+                      + decimal.Parse(Global.Set.wltpayAmt); //医保钱包支付金额
 
                 psnAcctAmt = getFee(jo, "acct_pay");     //账户支付金额 100
                 psnCashAmt = getFee(jo, "psn_cash_pay"); //现金支付金额 200
@@ -1598,9 +1598,9 @@ namespace PTMedicalInsurance.Business
                 joSetlinfo.Add("HISAdmTime", Global.Set.hisAdmTime);
                 joSetlinfo.Add("HISDischargeTime", Global.Set.hisDischargeTime); 
 
-                //JObject joExpContent = JObject.Parse(JsonHelper.getDestValue(joSetlinfo, "exp_content"));
-                //joSetlinfo.Add("medIns_wallet_balance", JsonHelper.getDestValue(joExpContent, "medIns_wallet_balance")); //医保钱包余额
-                //joSetlinfo.Add("medIns_wallet_pay", JsonHelper.getDestValue(joExpContent, "medIns_wallet_pay")); //医保钱包支付金额
+                JObject joExpContent = JObject.Parse(JsonHelper.getDestValue(joSetlinfo, "exp_content"));
+                joSetlinfo.Add("medIns_wallet_balance", JsonHelper.getDestValue(joExpContent, "medIns_wallet_balance")); //医保钱包余额
+                joSetlinfo.Add("medIns_wallet_pay", JsonHelper.getDestValue(joExpContent, "medIns_wallet_pay")); //医保钱包支付金额
 
                 JObject joRtn = invoker.invokeInsuService(JsonHelper.setIrisInpar("09010051", joSetlinfo).ToString(), "插入结算信息");
                 if (JsonHelper.parseIrisRtnValue(joRtn, out errMsg) != 0)