Browse Source

fix:PC退微信支付费用

zhengjie 1 year ago
parent
commit
bb20cd8660
3 changed files with 4 additions and 1 deletions
  1. 1 0
      Business/HisMainBusiness.cs
  2. 1 0
      Business/MobilePay.cs
  3. 2 1
      InsuBusiness.cs

+ 1 - 0
Business/HisMainBusiness.cs

@@ -1796,6 +1796,7 @@ namespace PTMedicalInsurance.Business
                         pat.mdtrtID = JsonHelper.getDestValue(joInparam, "insuAdmObj.mdtrt_id");
                         pat.settlID = JsonHelper.getDestValue(joInparam, "insuAdmObj.setl_id");
                         pat.insuplc_admdvs = JsonHelper.getDestValue(joInparam, "insuAdmObj.insuplc_admdvs");
+
                         pat.adm_Dr = int.Parse(JsonHelper.getDestValue(joInparam, "params[0].admID"));
                         pat.recordID = JsonHelper.getDestValue(joInparam, "params[0].recordID");
                         pat.billID = JsonHelper.getDestValue(joInparam, "params[0].billID");

+ 1 - 0
Business/MobilePay.cs

@@ -316,6 +316,7 @@ namespace PTMedicalInsurance.Business
             MPat.uldLatlnt = JsonHelper.getDestValue(joInsuAdmObj, "uldLatlnt");
             MPat.payOrdId = JsonHelper.getDestValue(joInsuAdmObj, "payOrdId");
             MPat.mdtrtID = JsonHelper.getDestValue(joInsuAdmObj, "mdtrt_id");
+            MPat.settlID = JsonHelper.getDestValue(joInsuAdmObj, "setl_id");
             Global.pat.mdtrtID = MPat.mdtrtID;
         }
         public void setPatientBy6201Rtn(JObject jo)

+ 2 - 1
InsuBusiness.cs

@@ -68,13 +68,14 @@ namespace PTMedicalInsurance
                 operationType = JsonHelper.getDestValue(joInParam, "operationType");
                 if ((businessType == "M6") || (businessType == "M6C") || (businessType == "M6Confirm"))
                 {
+                    //M6C退费只能在PC端退费?
                     Environment.CurrentDirectory = @"D:\HttpServerAPI\bin";
                 }
                 return 0;
             }
             catch (Exception ex)
             {
-                errMsg = "parseInparam 解析入参异常:" + errMsg;
+                errMsg = "parseInparam 解析入参异常:" + ex.Message;
                 return -1;
             }