| | |
| | | } |
| | | |
| | | /** |
| | | * 跟新技师预约状态 |
| | | * 更新技师预约状态 |
| | | * |
| | | * @param status |
| | | */ |
| | | @PutMapping("/updateStatus") |
| | | @ApiOperation(value = "跟新技师预约状态", notes = "跟新技师预约状态", tags = {"后台-技师预约管理-跟新技师预约状态"}) |
| | | @ApiOperation(value = "更新技师预约状态", notes = "更新技师预约状态", tags = {"后台-技师预约管理-更新技师预约状态"}) |
| | | public R<Void> updateStatus(@ApiParam @RequestParam Integer status, @ApiParam @RequestParam Long subscribeId) { |
| | | boolean update = technicianSubscribeService.update(new LambdaUpdateWrapper<TechnicianSubscribe>() |
| | | .eq(TechnicianSubscribe::getId, subscribeId) |
| | |
| | | |
| | | @GetMapping("/home/list") |
| | | @ApiOperation(value = "列表", notes = "列表", tags = {"小程序-个人中心-我的预约"}) |
| | | public TableDataInfo homelist(@ApiParam(value = "状态 0=待服务,1=已服务,2=已取消 4 已到期") @RequestParam Integer status) { |
| | | public TableDataInfo homelist(@ApiParam(value = "状态 0=待服务,1=已服务,2=已取消 4 已到期") Integer status) { |
| | | startPage(); |
| | | List<TechnicianSubscribeVO> list = technicianSubscribeService |
| | | .getTechnicianSubscribeByUser(SecurityUtils.getUserId(), status); |