diff --git a/src/com/engine/salary/biz/SIAccountBiz.java b/src/com/engine/salary/biz/SIAccountBiz.java index d48330dc1..711cfb25b 100644 --- a/src/com/engine/salary/biz/SIAccountBiz.java +++ b/src/com/engine/salary/biz/SIAccountBiz.java @@ -785,18 +785,24 @@ public class SIAccountBiz extends Service { socialTemp = socialTemp.add(socialPerson); fundTemp = fundTemp.add(fundPerson); otherTemp = otherTemp.add(otherPerson); + if (!socialPersonFlag) { + socialAccountPerson += 1; + } + if (!fundPersonFlag) { + funcAccountPerson += 1; + } + if (!otherPersonFlag) { + otherAccountPerson += 1; + } } if (!socialPersonFlag) { socialSum = socialSum.add(socialTemp); - socialAccountPerson += 1; } if (!fundPersonFlag) { fundSum = fundSum.add(fundTemp); - funcAccountPerson += 1; } if (!otherPersonFlag) { otherSum = otherSum.add(otherTemp); - otherAccountPerson += 1; } } InsuranceAccountBatchPO insuranceAccountBatchPO = getInsuranceAccountBatchMapper().getByBillMonth(billMonth, param.getPaymentOrganization());