zhongrj
2024-01-02 c464bb203d8d9874a97424f674f816e45bcd981b
src/main/java/org/springblade/modules/system/controller/UserController.java
@@ -390,9 +390,19 @@
    * 修改
    */
   @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));
   }
}