wangqifan hace 3 años
padre
commit
5b76360fbd

+ 4 - 0
src/main/java/com/izouma/zhumj/service/client/DepositRefundApplyService.java

@@ -209,6 +209,10 @@ public class DepositRefundApplyService {
                     case ENT_PAY:
                         userMoneyWithdrawApplyService
                                 .sendApply(user.getOpenId(), apply.getAmount(), apply.getRefundId(), checkinInfo);
+                        apply.setStatus(DepositRefundStatus.SUCCESS);
+                        apply.setRefundTime(LocalDateTime.now());
+                        depositRefundApplyRepo.save(apply);
+                        checkinInfo.setDepositStatus(DepositStatus.REFUNDED);
                         break;
                     default:
                         throw new BusinessException("暂不支持");