package com.xiaoniu.subsystem.business.mapper;

import com.xiaoniu.common.core.vo.LabelAndValueVO;
import com.xiaoniu.common.mybatis.mapper.BaseMapperPlus;
import com.xiaoniu.subsystem.business.domain.Flight;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 专业（班次）管理表 Mapper 接口
 * </p>
 *
 * @author haoxuyang
 * @since 2024-11-29 03:35:08
 */
public interface FlightMapper extends BaseMapperPlus<FlightMapper, Flight, Flight> {

    /**
     * 培训类型
     *
     * @param year  年份
     * @param unitIdList 单位id
     * @return List<LabelAndValueVO>
     */
    List<LabelAndValueVO> flightTrainingType(@Param("year") String year, @Param("unitIdList") List<Long> unitIdList);
}
