| | |
| | | @ValueClassify("客户管理") |
| | | @ApiOperation(value = "删除客户信息") |
| | | @PostMapping("/delCustomById") |
| | | public Result<?> delCustomById(Integer id) { |
| | | return Result.success(customService.delCustomById(id)); |
| | | public Result<?> delCustomById(Long id) { |
| | | return Result.success(customService.removeById(id)); |
| | | } |
| | | @ValueClassify("客户管理") |
| | | @ApiOperation(value = "新增客户信息") |
| | |
| | | return Result.success(customService.selectCustomEnum()); |
| | | } |
| | | |
| | | @ValueAuth |
| | | @GetMapping ("/selectUserDepartmentLimsName") |
| | | @ApiOperation(value = "获取当前登录用户部门") |
| | | public Result<?> selectUserDepartmentLimsName(){ |
| | | return Result.success("成功", userService.selectUserDepartmentLimsName()); |
| | | } |
| | | |
| | | @ValueAuth |
| | | @GetMapping ("/selectDepartmentLimsUserList") |
| | | @ApiOperation(value = "获取当前登录用户部门下的所有用户") |
| | | public Result<?> selectDepartmentLimsUserList(){ |
| | | return Result.success(userService.selectDepartmentLimsUserList()); |
| | | } |
| | | } |