| | |
| | | */ |
| | | 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 org.springblade.modules.house.vo.UserHouseLabelVO; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 房屋-标签 服务类 |
| | | * 住户-标签 服务类 |
| | | * |
| | | * @author BladeX |
| | | * @since 2023-10-28 |
| | |
| | | * 自定义分页 |
| | | * |
| | | * @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); |
| | | |
| | | /** |
| | | * |
| | | * @param page |
| | | * @param householdLabel |
| | | * @return |
| | | */ |
| | | IPage<HouseholdLabelVO> statisticalLabels(IPage<HouseholdLabelVO> page, HouseholdLabelVO householdLabel); |
| | | |
| | | /** |
| | | * 组织部 |
| | | * @param page |
| | | * @param householdLabel |
| | | * @return |
| | | */ |
| | | public IPage<HouseholdLabelVO> orgStatisticalLabels(IPage<HouseholdLabelVO> page, HouseholdLabelVO householdLabel); |
| | | |
| | | /** |
| | | * 统战 |
| | | * @param page |
| | | * @param householdLabel |
| | | * @return |
| | | */ |
| | | public IPage<HouseholdLabelVO> unitedFrontStatisticalLabels(IPage<HouseholdLabelVO> page, HouseholdLabelVO householdLabel); |
| | | |
| | | IPage<HouseholdLabelVO> getCommunityStatisticalLabels(IPage<HouseholdLabelVO> page, HouseholdLabelVO householdLabel); |
| | | |
| | | /** |
| | | * 房屋-标签 房屋自定义新增或修改 |
| | | * @param householdLabel |
| | | * @return |
| | | */ |
| | | boolean saveOrUpdateHouseLabel(UserHouseLabelEntity householdLabel); |
| | | |
| | | /** |
| | | * 查询对应的label集合信息 |
| | | * @param labelName |
| | | * @return |
| | | */ |
| | | List<UserHouseLabelEntity> getLabelList(String labelName); |
| | | |
| | | /** |
| | | * 关注 |
| | | * @param page |
| | | * @param householdLabel |
| | | * @return |
| | | */ |
| | | IPage<HouseholdLabelVO> followStatisticalLabels(IPage<HouseholdLabelVO> page, HouseholdLabelVO householdLabel); |
| | | |
| | | /** |
| | | * 查询对应的label集合信息 |
| | | * @param userHouseLabelVO |
| | | * @return |
| | | */ |
| | | List<UserHouseLabelEntity> getUserHouseLabelList(UserHouseLabelVO userHouseLabelVO); |
| | | } |