提交修改

This commit is contained in:
quyixiao 2025-10-25 17:21:58 +08:00
parent ee04ea470f
commit aa28ab1b24
2 changed files with 8 additions and 1 deletions

View File

@ -12,5 +12,8 @@ public class VvDrawCashRecordRejectRequest extends VVAdminBaseRequest {
private Long drawCashRecordId;
//拒绝原因
private String rejectReason;
}

View File

@ -92,10 +92,14 @@ public class AdminDrawCashRecordController {
return R.error("状态不对");
}
vvDrawCashRecord.setStatus(ApprovalEnums.reject.getStatus());
vvDrawCashRecord.setRejectReason(request.getRejectReason());
vvDrawCashRecordDao.updateVvDrawCashRecordById(vvDrawCashRecord);
vvBuyerDao.updateVvBuyerDrawFailedById(vvDrawCashRecord.getDrawCashAmount(),
vvDrawCashRecord.getDrawCashAmount(), vvDrawCashRecord.getBuyerId());
return R.ok();
return R.ok("拒绝成功");
}