提交修改
This commit is contained in:
parent
ee04ea470f
commit
aa28ab1b24
@ -12,5 +12,8 @@ public class VvDrawCashRecordRejectRequest extends VVAdminBaseRequest {
|
||||
private Long drawCashRecordId;
|
||||
|
||||
|
||||
//拒绝原因
|
||||
private String rejectReason;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -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("拒绝成功");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user