Jelajahi Sumber

增加飞书订单回调

xda 2 tahun lalu
induk
melakukan
bc1f090c21

+ 1 - 0
src/main/java/com/winhc/repal/service/impl/RepalBillServiceImpl.java

@@ -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