package com.jeeplus.human.enrollment.enrollmentRegistration.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jeeplus.human.enrollment.enrollmentRegistration.domain.EnrollmentCertificateInfo;
import com.jeeplus.human.enrollment.enrollmentRegistration.domain.EnrollmentSkillInfo;
import com.jeeplus.sys.service.dto.WorkAttachmentInfoDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @version 1.0
 * @date
 */
@Mapper
@InterceptorIgnore(tenantLine = "true")
public interface EnrollmentSkillInfoMapper extends BaseMapper<EnrollmentSkillInfo> {
    EnrollmentSkillInfo getById(@Param("id") String id);

    List<EnrollmentSkillInfo> getByRegistrationId(@Param("enrollmentRegistrationId") String enrollmentRegistrationId);

    List<WorkAttachmentInfoDTO> findDtos(@Param("id")String id);

   void deleteByRegistrationId(@Param("enrollmentRegistrationId") String enrollmentRegistrationId);

}
