heheng
2024-12-10 0ee9cf0938174798af956fc6ae301ef149fd8b6a
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
package com.gkhy.system.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gkhy.system.domain.SysExpertInfo;
import com.gkhy.system.domain.vo.request.SysExpertInfoRoundReq;
import com.gkhy.system.domain.vo.request.SysExpertSearchReqDto;
import com.gkhy.system.domain.vo.response.ProjectExpertSectionResp;
import com.gkhy.system.domain.vo.response.SysExpertSearchRep;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
/**
 * <p>
 * 系统专家信息表 Mapper 接口
 * </p>
 *
 * @author kzy
 * @since 2023-11-27 16:33:33
 */
 
public interface SysExpertInfoMapper extends BaseMapper<SysExpertInfo> {
    /**
     * 根据条件获取专家信息列表
     * @param expertInfo
     * @return
     */
    List<SysExpertInfo> expertInfoList(SysExpertInfo expertInfo);
 
    List<SysExpertInfo> expertInfoListV2 (SysExpertInfo expertInfo);
 
    /**
     * 根据id card获取专家信息
     * @param idCard
     * @return
     */
    SysExpertInfo checkIdcardUnique(@Param("idCard") String idCard,@Param("deptId") Long deptId);
 
    SysExpertInfo checkIdCardDomainUnique(@Param("phone") String phone,@Param("idCard") String idCard,@Param("domain") String domain);
 
    /**
     * 批量删除专家信息
     * @param expertIds
     * @return
     */
    int deleteBatchByIds(Long[] expertIds);
 
    /**
     * 根据id获取专家信息
     * @param expertId
     * @return
     */
    SysExpertInfo getExpertInfoById(Long expertId);
 
    /**
     * 查询审批结果
     * @param req
     * @return
     */
    SysExpertSearchRep queryApprove(SysExpertSearchReqDto req);
 
    /**
     * 随机获取专家
     * @param req
     * @return
     */
   List<ProjectExpertSectionResp> getExpertRound(SysExpertInfoRoundReq req);
}