| | |
| | | @PostMapping(value = "/page") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(value = "师傅名称", name = "workerName", dataType = "String"), |
| | | @ApiImplicitParam(value = "预约人姓名", name = "reservationName", dataType = "String"), |
| | | @ApiImplicitParam(value = "订单编号", name = "orderNumber", dataType = "String"), |
| | | @ApiImplicitParam(value = "下单用户名称", name = "userName", dataType = "String"), |
| | | @ApiImplicitParam(value = "页码", name = "pageNum", dataType = "Integer", required = true), |
| | |
| | | public void changeReason(@RequestParam("id")String id,@RequestParam("reason") String reason) { |
| | | ChangeDispatch one = changeDispatchService.lambdaQuery().eq(ChangeDispatch::getOrderId, id).orderByDesc(BaseEntity::getCreateTime).last("limit 1").one(); |
| | | one.setState(1); |
| | | one.setApplyReason(reason); |
| | | // one.setApplyReason(reason); |
| | | changeDispatchService.updateById(one); |
| | | } |
| | | |