heheng
2025-03-11 686bd303ddc68db338fe352c38392194217168a5
expert-system/src/main/java/com/gkhy/system/mapper/SysExpertInfoMapper.java
@@ -1,8 +1,12 @@
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;
@@ -14,7 +18,7 @@
 * @author kzy
 * @since 2023-11-27 16:33:33
 */
@Mapper
public interface SysExpertInfoMapper extends BaseMapper<SysExpertInfo> {
    /**
     * 根据条件获取专家信息列表
@@ -23,12 +27,16 @@
     */
    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);
    /**
     * 批量删除专家信息
@@ -43,4 +51,18 @@
     * @return
     */
    SysExpertInfo getExpertInfoById(Long expertId);
    /**
     * 查询审批结果
     * @param req
     * @return
     */
    SysExpertSearchRep queryApprove(SysExpertSearchReqDto req);
    /**
     * 随机获取专家
     * @param req
     * @return
     */
   List<ProjectExpertSectionResp> getExpertRound(SysExpertInfoRoundReq req);
}