linwe
2024-08-09 8b7258c9427882bb1798f1502eaa35184c6e374e
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,70 @@
   /**
    * 住户-标签 自定义分页
    * 街道重点人员标签统计
    * @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("/getOrgStatisticalLabels")
   @ApiOperation(value = "组织部标签统计", notes = "")
   public R<IPage<HouseholdLabelVO>> orgStatisticalLabels(HouseholdLabelVO householdLabel, Query query) {
      IPage<HouseholdLabelVO> pages = householdLabelService.orgStatisticalLabels(Condition.getPage(query), householdLabel);
      return R.data(pages);
   }
   /**
    * 统战标签统计
    * @param householdLabel
    * @param query
    * @return
    */
   @GetMapping("/getUnitedFrontStatisticalLabels")
   @ApiOperation(value = "统战标签统计", notes = "")
   public R<IPage<HouseholdLabelVO>> unitedFrontStatisticalLabels(HouseholdLabelVO householdLabel, Query query) {
      IPage<HouseholdLabelVO> pages = householdLabelService.unitedFrontStatisticalLabels(Condition.getPage(query), householdLabel);
      return R.data(pages);
   }
   /**
    * 关注人员标签统计
    * @param householdLabel
    * @param query
    * @return
    */
   @GetMapping("/getFollowStatisticalLabels")
   @ApiOperation(value = "统战标签统计", notes = "")
   public R<IPage<HouseholdLabelVO>> followStatisticalLabels(HouseholdLabelVO householdLabel, Query query) {
      IPage<HouseholdLabelVO> pages = householdLabelService.followStatisticalLabels(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);
   }
}