fix 回算归档
This commit is contained in:
parent
c4b17974ae
commit
ecda5027de
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue