| | |
| | | |
| | | /** |
| | | * 获取用户信息 |
| | | * |
| | | * @return |
| | | */ |
| | | @GetMapping("/getUserInfo") |
| | |
| | | } |
| | | |
| | | /** |
| | | * 通过小区id查询物业人员/网格人员 |
| | | * 通过小区id查询用户 |
| | | */ |
| | | @GetMapping("/getUserInfoByDistrictIds") |
| | | @ApiOperation(value = "查询物业人员By小区id", notes = "houseCode") |
| | | public R getUserInfoByDistrictIds(@RequestParam("districtIds") String districtIds) { |
| | | return R.data(userService.getUserInfoByDistrictIds(districtIds)); |
| | | @ApiOperation(value = "通过小区id查询用户") |
| | | public R<IPage<UserVO>> getUserInfoByDistrictIds(@RequestParam("districtIds") String districtIds |
| | | , @RequestParam(value = "building", required = false) String building |
| | | , @RequestParam(value = "unit", required = false) String unit |
| | | , @RequestParam(value = "name", required = false) String name |
| | | , Query query) { |
| | | IPage<User> pages = userService.getUserInfoByDistrictIds(districtIds, building, unit, name, Condition.getPage(query)); |
| | | return R.data(UserWrapper.build().pageVO(pages)); |
| | | } |
| | | |
| | | |