huanghongfa
2021-04-27 66e6e417d69c5ccebc61082519e4e65eff81b490
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
package com.panzhihua.service_community.service;
 
import com.panzhihua.common.model.dtos.community.ComMngPopulationDTO;
import com.panzhihua.common.model.dtos.community.ComMngPopulationTagDTO;
import com.panzhihua.common.model.dtos.user.PageInputUserDTO;
import com.panzhihua.common.model.vos.R;
import com.panzhihua.common.model.vos.community.ComMngPopulationServeExcelVO;
import com.panzhihua.common.model.vos.community.ComMngPopulationVO;
import com.panzhihua.common.model.vos.community.EditComMngPopulationVO;
 
import java.util.List;
 
/**
 * 实有人口Service
 */
public interface ComMngPopulationService {
    /**
     * 新增实有人口
     * @param comMngPopulationVO 实有人口信息
     * @return 新增结果
     */
    R addPopulation(ComMngPopulationVO comMngPopulationVO);
    /**
     * 编辑实有人口
     * @param comMngPopulationVO 编辑内容
     * @return 编辑结果
     */
    R putPopulation(ComMngPopulationVO comMngPopulationVO);
    /**
     * 查询实有人口
     * @param comMngPopulationVO    请求参数
     * @return 实有人口集合
     */
    R listPopulation(ComMngPopulationDTO comMngPopulationVO);
    /**
     * 实有人口详情
     * @param populationId 实有人口id
     * @return 实有人口详情
     */
    R detailPopulation(Long populationId);
    /**
     * 分页查询实有人口
     * @param comMngPopulationVO 查询参数
     * @return 分页集合
     */
    R pagePopulation(ComMngPopulationDTO comMngPopulationVO);
    /**
     * 查询平台所有的实有人口
     * @return 实有人口集合 按照创建顺序倒序排列
     */
    R listPopulationAll();
    /**
     * 删除实有人口
     * @param populationId 实有人口id
     * @return 删除结果
     */
    R deletePopulation(Long populationId);
 
    /**
     * 导入实有人口
     * @param list
     * @param communityId
     * @return
     */
    R listSavePopulation(List<ComMngPopulationServeExcelVO> list, Long communityId);
 
    /**
     * 确认导入实有人口(有则更新,无则新建)
     * @param list  用户信息
     * @param communityId   社区id
     * @return  导入结果
     */
    R listSavePopulationConfirm(List<ComMngPopulationServeExcelVO> list, Long communityId);
    /**
     * 根据实有人口id修改用户标签
     * @param populationTagDTO  请求参数
     * @return  修改结果
     */
    R editTagPopulation(ComMngPopulationTagDTO populationTagDTO);
 
    /**
     * 批量删除实有人口
     *
     * @param Ids   实有人口id集合
     * @return  删除结果
     */
    R deletePopulations(List<Long> Ids);
 
    /**
     * 根据社区id查询所有实有人口
     * @param communityId   社区id
     * @return  查询结果
     */
    R getPopulationListByCommunityId(Long communityId);
 
    /**
     * 根据id集合查询实有人口
     * @param Ids   实有人口id集合
     * @return  查询结果
     */
    R getPopulationLists(List<Long> Ids);
 
    /**
     * 编辑实有人口
     * @param editComMngPopulationVO
     * @param communityId
     * @return
     */
    R editPopulation(EditComMngPopulationVO editComMngPopulationVO, Long communityId);
 
    /**
     * 分页查询特殊群体
     * @param pageInputUserDTO  请求参数
     * @return  特殊群体列表
     */
    R specialInputUser(PageInputUserDTO pageInputUserDTO);
 
    /**
     * 删除特殊群体人员
     * @param id    特殊群体id
     * @return  删除结果
     */
    R deleteSpecialInputUser(Long id);
 
    /**
     * 查询实有人口电子档信息
     * @param populationId  实有人口id
     * @return  实有人口电子档信息
     */
    R electronicArchivesPopulation(Long populationId);
}