From 7bcd0d2d7510cb2ba67099cd768e1b2b6d047dc2 Mon Sep 17 00:00:00 2001 From: linwei <872216696@qq.com> Date: Thu, 22 Feb 2024 17:16:27 +0800 Subject: [PATCH] 投票人员查询优化 --- src/main/java/org/springblade/modules/house/service/IUserHouseLabelService.java | 33 +++++++++++++++++++++++---------- 1 files changed, 23 insertions(+), 10 deletions(-) diff --git a/src/main/java/org/springblade/modules/house/service/IUserHouseLabelService.java b/src/main/java/org/springblade/modules/house/service/IUserHouseLabelService.java index 016c34c..fc4267f 100644 --- a/src/main/java/org/springblade/modules/house/service/IUserHouseLabelService.java +++ b/src/main/java/org/springblade/modules/house/service/IUserHouseLabelService.java @@ -16,13 +16,17 @@ */ package org.springblade.modules.house.service; -import com.baomidou.mybatisplus.extension.service.IService; -import org.springblade.modules.house.entity.UserHouseLabelEntity; -import org.springblade.modules.house.vo.HouseLabelVO; import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.IService; +import org.springblade.modules.house.dto.UserHouseLabelDTO; +import org.springblade.modules.house.entity.UserHouseLabelEntity; +import org.springblade.modules.house.excel.UserHouseLabelExcel; +import org.springblade.modules.house.vo.HouseholdLabelVO; + +import java.util.List; /** - * 房屋-标签 服务类 + * 住户-标签 服务类 * * @author BladeX * @since 2023-10-28 @@ -33,16 +37,25 @@ * 自定义分页 * * @param page - * @param houseLabel + * @param householdLabel * @return */ - IPage<HouseLabelVO> selectHouseLabelPage(IPage<HouseLabelVO> page, HouseLabelVO houseLabel); - + IPage<HouseholdLabelVO> selectHouseholdLabelPage(IPage<HouseholdLabelVO> page, HouseholdLabelVO householdLabel); /** - * 房屋-标签 自定义新增或修改 - * @param houseLabel + * 住户-标签 自定义新增或修改 + * + * @param householdLabel * @return */ - boolean saveOrUpdateHouseLabel(UserHouseLabelEntity houseLabel); + boolean saveOrUpdateHouseholdLabel(UserHouseLabelEntity householdLabel); + + + List<Integer> selectUserLabelList(UserHouseLabelDTO userHouseLabelDTO); + + void importUserHouseLabel(List<UserHouseLabelExcel> data, Boolean isCovered); + + IPage<HouseholdLabelVO> statisticalLabels(IPage<HouseholdLabelVO> page, HouseholdLabelVO householdLabel); + + IPage<HouseholdLabelVO> getCommunityStatisticalLabels(IPage<HouseholdLabelVO> page, HouseholdLabelVO householdLabel); } -- Gitblit v1.9.3