| | |
| | | |
| | | @ValueClassify("用户管理") |
| | | @ApiOperation(value = "获取用户列表") |
| | | @PostMapping("/selectUserList2") |
| | | public Result selectUserList2(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | UserPageDto user = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), UserPageDto.class); |
| | | return Result.success(userService.selectUserList(page, user)); |
| | | } |
| | | |
| | | @ValueAuth |
| | | @ApiOperation(value = "获取用户列表(用于其他页面获取用户数据)") |
| | | @PostMapping("/selectUserList") |
| | | public Result selectUserList(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | |
| | | @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 = "新增客户信息") |