From 8b7258c9427882bb1798f1502eaa35184c6e374e Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 09 Aug 2024 14:29:18 +0800
Subject: [PATCH] 短信指定楼栋发送

---
 src/main/java/org/springblade/modules/house/controller/UserHouseLabelController.java |   73 +++++++++++++++++++++++++++++++++++-
 1 files changed, 70 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/springblade/modules/house/controller/UserHouseLabelController.java b/src/main/java/org/springblade/modules/house/controller/UserHouseLabelController.java
index 0b1ddab..7950cf4 100644
--- a/src/main/java/org/springblade/modules/house/controller/UserHouseLabelController.java
+++ b/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);
+	}
+
 
 }

--
Gitblit v1.9.3