| | |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("更新状态") |
| | | @PostMapping("/updateStatusById") |
| | | @CloudRequiredPermission("business:ywpatrolline:update") |
| | | public ApiResponse updateStatusById(@RequestBody YwPatrolLine ywPatrolLine,@RequestHeader(Constants.HEADER_USER_TOKEN) String token) { |
| | | ywPatrolLine.setLoginUserInfo(this.getLoginUser(token)); |
| | | ywPatrolLineService.updateStatusById(ywPatrolLine); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("分页查询") |
| | | @PostMapping("/page") |
| | | @CloudRequiredPermission("business:ywpatrolline:query") |