linwe
2024-05-29 c10d6358b9f014375a13821465bc978d0c0da22e
src/main/java/org/springblade/modules/house/controller/UserHouseLabelController.java
@@ -131,6 +131,17 @@
   }
   /**
    * 房屋-标签 房屋自定义新增或修改
    * @param householdLabel
    * @return
    */
   @PostMapping("/saveOrUpdateHouseLabel")
   @ApiOperation(value = "自定义新增或修改", notes = "传入householdLabel")
   public R saveOrUpdateHouseLabel(@Valid @RequestBody UserHouseLabelEntity householdLabel) {
      return R.status(householdLabelService.saveOrUpdateHouseLabel(householdLabel));
   }
   /**
    * 住户-标签 删除
    */
   @PostMapping("/remove")
@@ -178,14 +189,30 @@
   /**
    * 住户-标签 自定义分页
    * 街道重点人员标签统计
    * @param householdLabel
    * @param query
    * @return
    */
   @GetMapping("/statisticalLabels")
   @ApiOperation(value = "统计标签", notes = "")
   @GetMapping("/getRegionStatisticalLabels")
   @ApiOperation(value = "街道重点人员标签统计", notes = "")
   public R<IPage<HouseholdLabelVO>> statisticalLabels(HouseholdLabelVO householdLabel, Query query) {
      IPage<HouseholdLabelVO> pages = householdLabelService.statisticalLabels(Condition.getPage(query), householdLabel);
      return R.data(pages);
   }
   /**
    * 社区重点人员标签统计
    * @param householdLabel
    * @param query
    * @return
    */
   @GetMapping("/getCommunityStatisticalLabels")
   @ApiOperation(value = "社区重点人员标签统计", notes = "")
   public R<IPage<HouseholdLabelVO>> getCommunityStatisticalLabels(HouseholdLabelVO householdLabel, Query query) {
      IPage<HouseholdLabelVO> pages = householdLabelService.getCommunityStatisticalLabels(Condition.getPage(query), householdLabel);
      return R.data(pages);
   }
}