From c10d6358b9f014375a13821465bc978d0c0da22e Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Wed, 29 May 2024 17:17:08 +0800
Subject: [PATCH] 通过E呼即办数据统计

---
 src/main/java/org/springblade/modules/house/controller/UserHouseLabelController.java |   25 +++++++++++++++++++++----
 1 files changed, 21 insertions(+), 4 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 a552559..0970bf2 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,20 +189,26 @@
 
 
 	/**
-	 *
+	 * 街道重点人员标签统计
+	 * @param householdLabel
+	 * @param query
+	 * @return
 	 */
 	@GetMapping("/getRegionStatisticalLabels")
-	@ApiOperation(value = "统计标签", notes = "")
+	@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 = "")
+	@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