From aeb7d068be92312dcdcea75e1240bcf2a78dd0fe Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Mon, 29 Jul 2024 16:49:58 +0800
Subject: [PATCH] 代码优化
---
src/main/java/org/springblade/modules/house/controller/UserHouseLabelController.java | 40 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 40 insertions(+), 0 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 0970bf2..7950cf4 100644
--- a/src/main/java/org/springblade/modules/house/controller/UserHouseLabelController.java
+++ b/src/main/java/org/springblade/modules/house/controller/UserHouseLabelController.java
@@ -202,6 +202,46 @@
}
/**
+ * 组织部标签统计
+ * @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
--
Gitblit v1.9.3