|
@@ -521,7 +521,7 @@ namespace PTMedicalInsurance.Business
|
|
+ getFee(jo, "poor_pay")
|
|
+ getFee(jo, "poor_pay")
|
|
+ getFee(jo, "medis_pay");
|
|
+ getFee(jo, "medis_pay");
|
|
|
|
|
|
- ybAmt = getFee(jo, "fund_pay_sumamt");
|
|
+ ybAmt = getFee(jo, "insu_part_amt");
|
|
psnAcctAmt = getFee(jo, "acct_pay");
|
|
psnAcctAmt = getFee(jo, "acct_pay");
|
|
psnCashAmt = getFee(jo, "psn_cash_pay");
|
|
psnCashAmt = getFee(jo, "psn_cash_pay");
|
|
psnPartAmt = getFee(jo, "psn_part_amt");
|
|
psnPartAmt = getFee(jo, "psn_part_amt");
|
|
@@ -533,9 +533,11 @@ namespace PTMedicalInsurance.Business
|
|
joSumFee.Add("psnCashAmt", psnCashAmt);
|
|
joSumFee.Add("psnCashAmt", psnCashAmt);
|
|
|
|
|
|
|
|
|
|
- if (medFee != (ybAmt + psnPartAmt + hospAmt + otherAmt))
|
|
+ decimal total = (ybAmt + psnAcctAmt + psnCashAmt + hospAmt + otherAmt);
|
|
|
|
+ if (medFee != total)
|
|
{
|
|
{
|
|
- errMsg = "ybAmt + psnPartAmt + hospAmt + otherAmt != medFee";
|
|
+ Global.writeLog("ybAmt:"+ybAmt+ ",psnAcctAmt:" + psnAcctAmt + "psnCashAmt:"+ psnCashAmt + ",hospAmt:" + hospAmt+",otherAmt:"+otherAmt);
|
|
|
|
+ errMsg = "总费用:" + medFee + "!= 医保费用:" + total;
|
|
return -1;
|
|
return -1;
|
|
}
|
|
}
|
|
return 0;
|
|
return 0;
|