|
@@ -665,6 +665,7 @@ public class RepalBillServiceImpl extends ServiceImpl<RepalBillMapper, RepalBill
|
|
|
} else if (dto.getTotalMoney().compareTo(repalBill.getReceipt()) > 0) {
|
|
|
repalBill.setTotalMoney(dto.getTotalMoney());
|
|
|
repalBill.setReceivable(dto.getTotalMoney().subtract(repalBill.getReceipt()));
|
|
|
+ repalBill.setRepalBillStatus(RepalBillStatusEnum.PROGRESSING.getCode());
|
|
|
}
|
|
|
if (LocalDate.now().isAfter(dto.getEndDate()) && repalBill.getReceivable().compareTo(BigDecimal.ZERO) > 0) {
|
|
|
// 日期 && 应收 > 0
|