退款去除租户
This commit is contained in:
parent
5f5218181f
commit
b5caf5fb15
|
@ -147,6 +147,7 @@ tenant:
|
||||||
- m_counselor_qualification
|
- m_counselor_qualification
|
||||||
- m_reservation_day
|
- m_reservation_day
|
||||||
- m_reservation_order
|
- m_reservation_order
|
||||||
|
- m_reservation_refund
|
||||||
- m_reservation_time
|
- m_reservation_time
|
||||||
- m_score_record
|
- m_score_record
|
||||||
- sys_warn_config
|
- sys_warn_config
|
||||||
|
|
|
@ -127,7 +127,7 @@ public class WxOrderController extends BaseController {
|
||||||
@Log(title = "退款申请", businessType = BusinessType.INSERT)
|
@Log(title = "退款申请", businessType = BusinessType.INSERT)
|
||||||
@RepeatSubmit()
|
@RepeatSubmit()
|
||||||
@PostMapping("/reservation/refund")
|
@PostMapping("/reservation/refund")
|
||||||
public R<Void> addRefund(@RequestBody ReservationRefundBo bo) throws Exception {
|
public R<Void> addRefund(@Validated(AddGroup.class) @RequestBody ReservationRefundBo bo) throws Exception {
|
||||||
return toAjax(reservationRefundService.insertByBo(bo));
|
return toAjax(reservationRefundService.insertByBo(bo));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,7 +35,7 @@ public class ReservationRefundBo extends BaseEntity {
|
||||||
/**
|
/**
|
||||||
* 申请人
|
* 申请人
|
||||||
*/
|
*/
|
||||||
@NotNull(message = "申请人不能为空", groups = { AddGroup.class, EditGroup.class })
|
//@NotNull(message = "申请人不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||||
private Long userId;
|
private Long userId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -47,7 +47,7 @@ public class ReservationRefundBo extends BaseEntity {
|
||||||
/**
|
/**
|
||||||
* 退款状态
|
* 退款状态
|
||||||
*/
|
*/
|
||||||
@NotNull(message = "退款状态不能为空", groups = { AddGroup.class, EditGroup.class })
|
//@NotNull(message = "退款状态不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue