Merge branch 'release/2.9.6.2310.01' into release/个税版本
This commit is contained in:
commit
1f5edd039a
|
|
@ -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())
|
||||
|
|
|
|||
|
|
@ -179,7 +179,13 @@ public class SalaryAcctEmployeeServiceImpl extends Service implements SalaryAcct
|
|||
if (CollectionUtils.isEmpty(salaryAcctRecordIds) || CollectionUtils.isEmpty(employeeIds)) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
return getSalaryAcctEmployeeMapper().listSome(SalaryAcctEmployeePO.builder().salaryAcctRecordIds(salaryAcctRecordIds).employeeIds(employeeIds).build());
|
||||
List<List<Long>> partition = Lists.partition((List<Long>) employeeIds, 500);
|
||||
List<SalaryAcctEmployeePO> list = new ArrayList<>();
|
||||
partition.forEach(l -> {
|
||||
list.addAll(getSalaryAcctEmployeeMapper().listSome(SalaryAcctEmployeePO.builder().salaryAcctRecordIds(salaryAcctRecordIds).employeeIds(l).build()));
|
||||
});
|
||||
|
||||
return list;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in New Issue