薪酬系统-福利档案,薪资核算时调用福利核算数据查询时人员ids分片
This commit is contained in:
parent
d0e0195709
commit
f8f5ea7782
|
|
@ -897,7 +897,15 @@ public class SIAccountServiceImpl extends Service implements SIAccountService {
|
|||
}
|
||||
|
||||
//20230707增加福利核算明细中的缴纳状态+合计的数据项
|
||||
List<InsuranceAccountDetailPO> insuranceAccountDetailPOS = getInsuranceAccountDetailMapper().queryList(billMonth, taxAgentId, employeeIds);
|
||||
// List<InsuranceAccountDetailPO> insuranceAccountDetailPOS = getInsuranceAccountDetailMapper().queryList(billMonth, taxAgentId, employeeIds);
|
||||
|
||||
List<InsuranceAccountDetailPO> insuranceAccountDetailPOS = new ArrayList<>();
|
||||
List<List<Long>> empIdsPart = Lists.partition((List<Long>) employeeIds, 500);
|
||||
for (List<Long> part : empIdsPart) {
|
||||
insuranceAccountDetailPOS.addAll(
|
||||
getInsuranceAccountDetailMapper().queryList(billMonth, taxAgentId, part));
|
||||
}
|
||||
|
||||
//退差数据不参与薪资核算
|
||||
insuranceAccountDetailPOS = insuranceAccountDetailPOS.stream()
|
||||
.filter(f -> f.getPaymentStatus().equals(PaymentStatusEnum.COMMON.getValue())
|
||||
|
|
|
|||
Loading…
Reference in New Issue