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.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
/**
|
* <p>
|
* 系统专家信息表 Mapper 接口
|
* </p>
|
*
|
* @author kzy
|
* @since 2023-11-27 16:33:33
|
*/
|
@Mapper
|
public interface SysExpertInfoMapper extends BaseMapper<SysExpertInfo> {
|
/**
|
* 根据条件获取专家信息列表
|
* @param expertInfo
|
* @return
|
*/
|
List<SysExpertInfo> expertInfoList(SysExpertInfo expertInfo);
|
|
/**
|
* 根据id card获取专家信息
|
* @param idCard
|
* @return
|
*/
|
SysExpertInfo checkIdcardUnique(@Param("idCard") String idCard,@Param("deptId") Long deptId);
|
|
/**
|
* 批量删除专家信息
|
* @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);
|
}
|