薪酬系统-福利台账,福利核算逻辑优化,支持未设置基数,仅设置固定值的福利档案的核算
This commit is contained in:
parent
38bffb2a8b
commit
3826e89a72
|
|
@ -614,6 +614,14 @@ public class SIAccountBiz extends Service {
|
|||
}
|
||||
});
|
||||
}
|
||||
//避免福利档案的方案未设置基数,导致核算时遗漏这些福利项的核算,遍历下方案相关福利项,并将遗漏的福利项id添加
|
||||
if(otherPerson.size() > 0) {
|
||||
otherPerson.forEach((id, object) -> {
|
||||
if (!needArchivesPerson.contains(id)) {
|
||||
needArchivesPerson.add(id);
|
||||
}
|
||||
});
|
||||
}
|
||||
//判断核算周期、核算月、福利起始缴纳月的关系
|
||||
checkCycleSettingWithStartMonth(otherPerson, billMonth, otherPO.getOtherStartTime());
|
||||
|
||||
|
|
@ -676,6 +684,14 @@ public class SIAccountBiz extends Service {
|
|||
}
|
||||
});
|
||||
}
|
||||
//避免福利档案的方案未设置基数,导致核算时遗漏这些福利项的核算,遍历下方案相关福利项,并将遗漏的福利项id添加
|
||||
if(otherCom.size() > 0) {
|
||||
otherCom.forEach((id, object) -> {
|
||||
if (!needArchivesCom.contains(id)) {
|
||||
needArchivesCom.add(id);
|
||||
}
|
||||
});
|
||||
}
|
||||
//判断核算周期、核算月、福利起始缴纳月的关系
|
||||
checkCycleSettingWithStartMonth(otherCom, billMonth, otherPO.getOtherStartTime());
|
||||
|
||||
|
|
@ -756,6 +772,14 @@ public class SIAccountBiz extends Service {
|
|||
}
|
||||
});
|
||||
}
|
||||
//避免福利档案的方案未设置基数,导致核算时遗漏这些福利项的核算,遍历下方案相关福利项,并将遗漏的福利项id添加
|
||||
if(fundperson.size() > 0) {
|
||||
fundperson.forEach((id, object) -> {
|
||||
if (!needArchivesPerson.contains(id)) {
|
||||
needArchivesPerson.add(id);
|
||||
}
|
||||
});
|
||||
}
|
||||
//判断核算周期、核算月、福利起始缴纳月的关系
|
||||
checkCycleSettingWithStartMonth(fundperson, billMonth, fundPO.getFundStartTime());
|
||||
|
||||
|
|
@ -817,6 +841,14 @@ public class SIAccountBiz extends Service {
|
|||
}
|
||||
});
|
||||
}
|
||||
//避免福利档案的方案未设置基数,导致核算时遗漏这些福利项的核算,遍历下方案相关福利项,并将遗漏的福利项id添加
|
||||
if(fundCom.size() > 0) {
|
||||
fundCom.forEach((id, object) -> {
|
||||
if (!needArchivesCom.contains(id)) {
|
||||
needArchivesCom.add(id);
|
||||
}
|
||||
});
|
||||
}
|
||||
//判断核算周期、核算月、福利起始缴纳月的关系
|
||||
checkCycleSettingWithStartMonth(fundCom, billMonth, fundPO.getFundStartTime());
|
||||
|
||||
|
|
@ -900,6 +932,14 @@ public class SIAccountBiz extends Service {
|
|||
}
|
||||
});
|
||||
}
|
||||
//避免福利档案的方案未设置基数,导致核算时遗漏这些福利项的核算,遍历下方案相关福利项,并将遗漏的福利项id添加
|
||||
if(schemeperson.size() > 0) {
|
||||
schemeperson.forEach((id, object) -> {
|
||||
if (!needArchivesPerson.contains(id)) {
|
||||
needArchivesPerson.add(id);
|
||||
}
|
||||
});
|
||||
}
|
||||
//判断核算周期、核算月、福利起始缴纳月的关系
|
||||
checkCycleSettingWithStartMonth(schemeperson, billMonth, socialPO.getSocialStartTime());
|
||||
|
||||
|
|
@ -961,6 +1001,14 @@ public class SIAccountBiz extends Service {
|
|||
}
|
||||
});
|
||||
}
|
||||
//避免福利档案的方案未设置基数,导致核算时遗漏这些福利项的核算,遍历下方案相关福利项,并将遗漏的福利项id添加
|
||||
if(schemeCom.size() > 0) {
|
||||
schemeCom.forEach((id, object) -> {
|
||||
if (!needArchivesCom.contains(id)) {
|
||||
needArchivesCom.add(id);
|
||||
}
|
||||
});
|
||||
}
|
||||
//判断核算周期、核算月、福利起始缴纳月的关系
|
||||
checkCycleSettingWithStartMonth(schemeCom, billMonth, socialPO.getSocialStartTime());
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue