package com.patzn.lims.staff.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.patzn.lims.excel.eto.LmsStaffTrainETO;
import com.patzn.lims.staff.entity.LmsStaffTrainRecord;
import com.patzn.lims.staff.vo.LmsStaffTrainRecordVO;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * <p>
  * 人员管理-人员培训记录 Mapper 接口
 * </p>
 *
 * @author patzn
 * @since 2017-11-03
 */
public interface LmsStaffTrainRecordMapper extends BaseMapper<LmsStaffTrainRecord> {

    List<LmsStaffTrainRecordVO> selectPageVO(Page page, @Param("ew") LmsStaffTrainRecordVO lmsStaffTrainRecordVO);

    List<LmsStaffTrainRecordVO> selectPageVO(@Param("ew") LmsStaffTrainRecordVO lmsStaffTrainRecordVO);

    LmsStaffTrainRecordVO selectVOById(@Param("id") Long id);

    List<LmsStaffTrainETO> selectEtoByRecordId(@Param("id") Long id, @Param("companyId") Long companyId);

    List<LmsStaffTrainETO> selectEtoByPersonId(@Param("id") Long id, @Param("companyId") Long companyId);



}