lin
2024-03-25 c02703a1aef70d2bb830c63652df72c98403db39
src/main/java/org/springblade/modules/system/controller/UserController.java
@@ -382,6 +382,7 @@
   /**
    * 获取用户信息
    *
    * @return
    */
   @GetMapping("/getUserInfo")
@@ -410,12 +411,17 @@
   }
   /**
    * 通过小区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));
   }