kongzy
2024-03-15 50c669c09a7b392af22706e6fb1fa8a4c335d8eb
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
package com.gkhy.assess.system.mapper;
 
import com.gkhy.assess.system.domain.AssPlanPerson;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gkhy.assess.system.domain.vo.PersonRecognitionVO;
import org.apache.ibatis.annotations.Mapper;
 
import java.util.List;
import java.util.Map;
 
/**
 * <p>
 * 评价项目组成员表 Mapper 接口
 * </p>
 *
 * @author kzy
 * @since 2023-12-12 10:46:54
 */
@Mapper
public interface AssPlanPersonMapper extends BaseMapper<AssPlanPerson> {
    /**
     * 根据项目id获取项目普通成员
     * @param projectId
     * @return
     */
    List<AssPlanPerson> getPlanPersonByProjectId(Long projectId);
 
    /**
     * 根据项目id获取项目成员,包括负责人,技术负责人,过程负责人等
     * @param projectId
     * @return
     */
    List<AssPlanPerson> getAllPlanPersonByProjectId(Long projectId);
 
    /**
     * 根据id删除项目成员
     * @param ids
     * @return
     */
    int deletePlanPersonByIds(List<Long> ids);
 
    /**
     * 根据id列表获取项目组成员
     * @param ids
     * @return
     */
    List<AssPlanPerson> getPlanPersonsByIds(List<Long> ids);
 
    /**
     * 根据项目id获取项目归档总人数和已签字人数
     * @param projectIds
     * @return
     */
    List<PersonRecognitionVO> getPersonAndRecognitionCount(List<Long> projectIds);
 
}