退料联调

This commit is contained in:
mashuai 2025-05-30 14:26:57 +08:00
parent 4b7d3db28a
commit e1ae49f773
1 changed files with 1 additions and 0 deletions

View File

@ -183,6 +183,7 @@ public class LeaseApplyInfoServiceImpl implements ILeaseApplyInfoService {
if (num == null) {
num = BigDecimal.ZERO;
}
applyInfo.setPreCountNum(applyInfo.getPreCountNum().add(num));
applyInfo.setAlNum(num);
applyInfo.setWaitCountNum(applyInfo.getPreCountNum().subtract(num).compareTo(BigDecimal.ZERO) <= 0 ? BigDecimal.ZERO : applyInfo.getPreCountNum().subtract(num));
}