fix 回算归档

This commit is contained in:
Harryxzy 2022-12-07 15:27:20 +08:00
parent c4b17974ae
commit ecda5027de
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ public class SalarySendServiceImpl extends Service implements SalarySendService
.collect(Collectors.collectingAndThen(Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(SalaryAcctEmployeePO::getEmployeeId))), ArrayList::new));
// 1.回算如果是回算todo 要等原始核算发完或者上一个回算记录发完才行目前最多只有一个回算记录
if (acctRecords.get(0).getBackCalcStatus().equals(NumberUtils.INTEGER_ONE)) {
if (Objects.equals(acctRecords.get(0).getBackCalcStatus(), (NumberUtils.INTEGER_ONE))) {
SalarySendPO sendPO = new SalarySendPO();
sendPO.setDeleteType(0);
sendPO.setSalaryAccountingId(salaryAccountingId);