| | |
| | | } |
| | | |
| | | |
| | | @SaCheckPermission("userList.search") |
| | | @SaCheckPermission("userList.delete") |
| | | @ApiOperation("删除用户") |
| | | @PostMapping("/userDelete/{id}") |
| | | public Result userDelete(@PathVariable Integer id) { |
| | |
| | | public Result findAll(){ |
| | | return Result.seccess(userService.findAll()); |
| | | } |
| | | |
| | | @ApiOperation("查询所有工序") |
| | | @SaCheckPermission("userList.search") |
| | | @PostMapping("selectProcess") |
| | | public Result selectProcess(){ |
| | | return Result.seccess(userService.selectProcessSv()); |
| | | } |
| | | |
| | | @ApiOperation("修改用户工序") |
| | | @SaCheckPermission("userList.search") |
| | | @PostMapping("updateProcess/{id}/{process}") |
| | | public Result updateProcess(@PathVariable Integer id,@PathVariable String process){ |
| | | return Result.seccess(userService.updateProcessSv(id,process)); |
| | | } |
| | | } |