zhengjie 1 rok temu
rodzic
commit
db3d303951
2 zmienionych plików z 5 dodań i 20 usunięć
  1. 5 4
      Business/MobilePay.cs
  2. 0 16
      Forms/Clearing.cs

+ 5 - 4
Business/MobilePay.cs

@@ -1437,6 +1437,7 @@ namespace PTMedicalInsurance.Business
                 joSetlinfo.Add("AdmDr", MPat.adm_Dr);
                 joSetlinfo.Add("MdtrtID", MPat.mdtrtID);
                 joSetlinfo.Add("SettlementID", MSettl.settlID);//
+                joSetlinfo.Add("PayOrdID", MSettl.payOrdId);
                 joSetlinfo.Add("PersonnelNO", MPat.psn_no);
                 joSetlinfo.Add("PatientName", MPat.name);
                 //joSetlinfo.Add("CertificateType", JsonHelper.getDestValue(joRtnSetlinfo, "mdtrt_cert_type"));
@@ -1452,7 +1453,7 @@ namespace PTMedicalInsurance.Business
                 joSetlinfo.Add("MdtrtCertType", MPat.mdtrtcertType);
                 joSetlinfo.Add("MedicalType", MPat.medType);
                 joSetlinfo.Add("Sumamt", MSettl.sumamt);//总费用
-                joSetlinfo.Add("OwnPayAmount", MSettl.fundPaySumamt);//全自费金额
+                joSetlinfo.Add("OwnPayAmount", MSettl.ownPayAmount);//全自费金额
                 joSetlinfo.Add("OverLimitAmount", MSettl.overLimitAmountmt);//超限价自费费用
                 joSetlinfo.Add("PreSelfPayAmount", MSettl.preSelfPayAmount);//先行自付金额
                 joSetlinfo.Add("InPolicyRangeAmount", MSettl.inPolicyRangeAmount);//符合政策范围金额
@@ -1468,10 +1469,10 @@ namespace PTMedicalInsurance.Business
                 joSetlinfo.Add("OtherPay", MSettl.otherPay);//其他支出
                 joSetlinfo.Add("FundPaySumamt", MSettl.fundPaySumamt);//基金支付总额
                 joSetlinfo.Add("PersonPaySumamt", MSettl.personPaySumamt);//个人负担总金额
-                joSetlinfo.Add("AccountPaySumamt",MSettl.accountPaySumamt);//个人账户支出
+                joSetlinfo.Add("AccountPaySumamt", MSettl.accountPaySumamt);//个人账户支出
                 joSetlinfo.Add("PersonCashPay", MSettl.personCashPay);//个人现金支出
                 joSetlinfo.Add("Balance", MSettl.balance);// 余额
-                joSetlinfo.Add("AccountMutualAidAmount", MSettl.accountMutualAidAmount);//个人账户共济支付金额
+                joSetlinfo.Add("AccountMutualAidAmount", "");//个人账户共济支付金额
                 joSetlinfo.Add("OrganSettlementID", "");//医药机构结算ID
                 joSetlinfo.Add("ClearingOrgan", MSettl.clearingOrgan);//清算经办机构
                 joSetlinfo.Add("ClearingWay", MSettl.clearingWay);//清算方式
@@ -1492,7 +1493,7 @@ namespace PTMedicalInsurance.Business
                 joSetlinfo.Add("HISDischargeTime", MSettl.hisDischargeTime);
                 joSetlinfo.Add("updateUserID", Global.user.ID);
 
-                JObject joRtn = invoker.invokeInsuService(JsonHelper.setIrisInpar("09010080", joSetlinfo).ToString(), "更新结算信息");
+                JObject joRtn = invoker.invokeInsuService(JsonHelper.setIrisInpar("09010089", joSetlinfo).ToString(), "通过订单号更新结算信息");
                 if (JsonHelper.parseIrisRtnValue(joRtn, out errMsg) != 0)
                 {
                     outParam = errMsg;

+ 0 - 16
Forms/Clearing.cs

@@ -111,14 +111,6 @@ namespace PTMedicalInsurance.Forms
         {
             DataTable dtInteface = (DataTable)cbInterface_2.DataSource;
             int i = cbInterface_2.SelectedIndex;
-            if (i != 2)
-            {
-                Global.inf.areaCode = "";
-            }
-            else
-            {
-                Global.pat.insuplc_admdvs = "530100";
-            }
             Global.inf.hospitalNO = dtInteface.Rows[i]["HospitalNO"].ToString();
             Global.inf.hospitalName = dtInteface.Rows[i]["HospitalName"].ToString();
             Global.inf.centerURL = dtInteface.Rows[i]["CenterURL"].ToString();
@@ -139,14 +131,6 @@ namespace PTMedicalInsurance.Forms
         {
             DataTable dtInteface = (DataTable)cbInterface_2.DataSource;
             int i = cbInterface_2.SelectedIndex;
-            if (i != 2)
-            {
-                Global.inf.areaCode = "";
-            }
-            else
-            {
-                Global.pat.insuplc_admdvs = "530100";
-            }
             Global.inf.hospitalNO = dtInteface.Rows[i]["HospitalNO"].ToString();
             Global.inf.hospitalName = dtInteface.Rows[i]["HospitalName"].ToString();
             Global.inf.centerURL = dtInteface.Rows[i]["CenterURL"].ToString();