package com.panzhihua.service_dangjian.service;
|
|
import com.panzhihua.common.model.dtos.common.*;
|
import com.panzhihua.common.model.vos.R;
|
import com.panzhihua.common.model.vos.TreeListVO;
|
import com.panzhihua.common.model.vos.partybuilding.excel.ComPbCheckUnitExcelVO;
|
|
import java.util.List;
|
|
/**
|
* title: 党建-报到单位表服务接口
|
* <p>
|
* projectName 成都呐喊信息技术有限公司-智慧社区项目
|
* <p>
|
* description: 党建-报到单位表服务接口
|
*
|
* @author lyq
|
* @date 2022-02-16 16:22:26
|
*/
|
public interface ComPbCheckUnitService {
|
|
/**
|
* description queryByPage 分页查询
|
*
|
* @param comPbCheckUnit 请求参数
|
* @return 分页查询列表数据
|
* @author lyq
|
* @date 2022-02-16 16:22:26
|
*/
|
R queryByPage(PageComPbCheckUnitDto comPbCheckUnit);
|
|
R treeList(TreeListVO treeListVO);
|
|
R orgList();
|
|
/**
|
* description insert 新增数据
|
*
|
* @param comPbCheckUnit 请求参数
|
* @return 新增结果
|
* @author lyq
|
* @date 2022-02-16 16:22:26
|
*/
|
R insert(AddComPbCheckUnitDto comPbCheckUnit);
|
|
/**
|
* description update 修改数据
|
*
|
* @param comPbCheckUnit 请求参数
|
* @return 修改结果
|
* @author lyq
|
* @date 2022-02-16 16:22:26
|
*/
|
R update(EditComPbCheckUnitDto comPbCheckUnit);
|
|
/**
|
* description deleteById 通过主键删除数据
|
*
|
* @param id 主键id
|
* @return 删除结果
|
* @author lyq
|
* @date 2022-02-16 16:22:26
|
*/
|
R deleteById(Long id);
|
|
/**
|
* description detailById 查询详情
|
*
|
* @param id 主键id
|
* @return 详情数据
|
* @author lyq
|
* @date 2022-02-16 16:22:26
|
*/
|
R detailById(Long id);
|
|
/**
|
* description queryByPage 查询列表
|
*
|
* @param comPbCheckUnit 请求参数
|
* @return 列表数据
|
* @author lyq
|
* @date 2022-02-16 16:22:26
|
*/
|
R queryByList(PageComPbCheckUnitDto comPbCheckUnit);
|
|
/**
|
* 批量导入报道单位
|
* @param list 导入数据
|
* @param communityId 社区id
|
* @param userId 用户id
|
* @return 导入结果
|
*/
|
R importCheckUnit(List<ComPbCheckUnitExcelVO> list, Long communityId, Long userId);
|
|
/**
|
* 手机号查询单位详情
|
* @param phone
|
* @return
|
*/
|
R detailByPhone(String phone);
|
|
/**
|
* 报到单位统计-顶部数据
|
* @param communityId
|
* @param belongTo
|
* @param choice
|
* @return
|
*/
|
R unitStatisticsTop(Long communityId, String belongTo, String choice,Long[] unitIds,String yearTime);
|
|
/**
|
* 报到单位统计
|
* @param commonDto
|
* @return
|
*/
|
R unitStatistics(PagePbCheckUnitCommonDto commonDto);
|
|
/**
|
* 报到党员统计-顶部数据
|
* @param communityId
|
* @param belongTo
|
* @param choice
|
* @param checkUnitId
|
* @return
|
*/
|
R pbStatisticsTop(Long communityId, String belongTo, String choice, Long checkUnitId,Long[] unitIds ,String yearTime);
|
|
/**
|
* 报到党员统计-按单位归属统计
|
* @param commonDto
|
* @return
|
*/
|
R pbStatisticsBelong(PagePbCheckUnitCommonDto commonDto);
|
|
/**
|
* 报到党员统计-按单位统计
|
* @param commonDto
|
* @return
|
*/
|
R pbStatisticsUnit(PagePbCheckUnitCommonDto commonDto);
|
}
|