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
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.vos.R;
import com.panzhihua.common.model.vos.community.ComMngPopulationVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
 
/**
 * 实有人口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);
    /**
     * 根据实有人口id修改用户标签
     * @param populationTagDTO  请求参数
     * @return  修改结果
     */
    R editTagPopulation(ComMngPopulationTagDTO populationTagDTO);
}