linwei
2024-01-08 ad2ec97fe0c60eee4bb7c8cdacff7c876f280ea7
src/main/java/org/springblade/modules/system/controller/UserController.java
@@ -390,9 +390,27 @@
    * 修改
    */
   @GetMapping("/getUserInfoByCode")
   @ApiOperation(value = "查询人员", notes = "houseCode")
   public R getUserInfoByCode(@RequestParam("houseCode") String houseCode, @RequestParam(value = "type",defaultValue = "2") String type) {
      return R.data(userService.getUserInfoByCode(houseCode,type));
   @ApiOperation(value = "查询物业人员/网格人员", notes = "houseCode")
   public R getUserInfoByCode(@RequestParam("houseCode") String houseCode, @RequestParam(value = "type", defaultValue = "2") String type) {
      return R.data(userService.getUserInfoByCode(houseCode, type));
   }
   /**
    * 查询物业人员/网格人员
    */
   @GetMapping("/getUserInfoByDistrictId")
   @ApiOperation(value = "查询物业人员/网格人员", notes = "houseCode")
   public R getUserInfoByDistrictId(@RequestParam("districtId") String districtId, @RequestParam(value = "building", required = false) String building) {
      return R.data(userService.getUserInfoByDistrictId(districtId, building));
   }
   /**
    * 处理漏绑定的user_dept
    */
   @GetMapping("/handleUserDept")
   public R handleUserDept() {
      return R.data(userService.handleUserDept());
   }
}