xzy-fix-社保福利台账添加补缴时核算人数错误问题

This commit is contained in:
Harryxzy 2022-09-23 11:37:24 +08:00
parent df15afc29e
commit 600cb3c37f
1 changed files with 9 additions and 3 deletions

View File

@ -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());