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