package com.casic.missiles.mapper.meter;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.casic.missiles.dto.meter.TrainPlanSignInRequest;
import com.casic.missiles.dto.meter.TrainStaffExamDTO;
import com.casic.missiles.model.meter.MeterTrainStaff;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 计量管理-培训管理-培训人员表 Mapper 接口
 * </p>
 *
 * @author wangpeng
 * @since 2022-11-26
 */
public interface MeterTrainStaffMapper extends BaseMapper<MeterTrainStaff> {

    int updateForStaff(@Param("trainStaffList") List<TrainStaffExamDTO> trainStaffList);

    int updateStaffForSignIn(@Param("request") TrainPlanSignInRequest request);
}
