郑永安
2023-06-19 7a6abd05683528032687c75e80e0bd2030a3e46c
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
package com.gkhy.safePlatform.account.service;
 
import com.gkhy.safePlatform.account.model.dto.req.PositionAddReqDTO;
import com.gkhy.safePlatform.account.model.dto.req.PositionModReqDTO;
import com.gkhy.safePlatform.account.model.dto.resp.PositionDetailRespDTO;
import com.gkhy.safePlatform.account.model.dto.resp.PositionRespDTO;
import com.gkhy.safePlatform.account.model.query.PositionQuery;
import com.gkhy.safePlatform.commons.co.ContextCacheUser;
import com.gkhy.safePlatform.commons.query.PageQuery;
import com.gkhy.safePlatform.commons.vo.ResultVO;
import com.gkhy.safePlatform.commons.vo.SearchResultVO;
 
import java.util.List;
 
public interface PositionService {
 
    /**
    * @Description: 获取岗位List
    */
    List<PositionRespDTO> listPositionInfo(ContextCacheUser currentUser, PositionQuery query);
 
    /**
    * @Description: 岗位查询
    */
    SearchResultVO<List<PositionDetailRespDTO>> listPositionInfoByPage(ContextCacheUser currentUser, PageQuery<PositionQuery> pageQuery);
 
    /**
    * @Description: 新增岗位
    */
    void addPositionInfo(ContextCacheUser currentUser, PositionAddReqDTO positionAddReqDTO);
 
    /**
    * @Description: 修改岗位
    */
    void modPositionInfo(ContextCacheUser currentUser, PositionModReqDTO positionModReqDTO);
 
 
    /**
    * @Description: 删除岗位
    */
    void delPositionInfo(ContextCacheUser currentUser, Long positionId);
}