package com.ruoyi.syzy.mapper;

import java.util.List;
import com.ruoyi.syzy.domain.BusiWishUniversitySubmitPreRecruitPlan;
import org.apache.ibatis.annotations.Param;

/**
 * 提前批招生计划Mapper接口
 * 
 * @author voluntary
 * @date 2023-03-05
 */
public interface BusiWishUniversitySubmitPreRecruitPlanMapper 
{
    /**
     * 查询提前批招生计划
     * 
     * @param id 提前批招生计划主键
     * @return 提前批招生计划
     */
    public BusiWishUniversitySubmitPreRecruitPlan selectBusiWishUniversitySubmitPreRecruitPlanById(Long id);

    /**
     * 查询提前批招生计划列表
     * 
     * @param busiWishUniversitySubmitPreRecruitPlan 提前批招生计划
     * @return 提前批招生计划集合
     */
    public List<BusiWishUniversitySubmitPreRecruitPlan> selectBusiWishUniversitySubmitPreRecruitPlanList(BusiWishUniversitySubmitPreRecruitPlan busiWishUniversitySubmitPreRecruitPlan);

    /**
     * 科类
     *
     * @param location
     * @return
     */
    public List<String> types(@Param("location") String location, @Param("year") Integer year);

    /**
     * 录取年份
     *
     * @param location
     * @param type
     * @param level
     * @return
     */
    public List<String> years(@Param("location") String location, @Param("type") String type, @Param("level") String level);
    public List<String> getTags(@Param("location") String location, @Param("year") Integer year);


    /**
     * 新增提前批招生计划
     * 
     * @param busiWishUniversitySubmitPreRecruitPlan 提前批招生计划
     * @return 结果
     */
    public int insertBusiWishUniversitySubmitPreRecruitPlan(BusiWishUniversitySubmitPreRecruitPlan busiWishUniversitySubmitPreRecruitPlan);

    /**
     * 修改提前批招生计划
     * 
     * @param busiWishUniversitySubmitPreRecruitPlan 提前批招生计划
     * @return 结果
     */
    public int updateBusiWishUniversitySubmitPreRecruitPlan(BusiWishUniversitySubmitPreRecruitPlan busiWishUniversitySubmitPreRecruitPlan);
    public int updateBusiWishUniversitySubmitPreRecruitPlanTagCode(BusiWishUniversitySubmitPreRecruitPlan busiWishUniversitySubmitPreRecruitPlan);

    /**
     * 删除提前批招生计划
     * 
     * @param id 提前批招生计划主键
     * @return 结果
     */
    public int deleteBusiWishUniversitySubmitPreRecruitPlanById(Long id);

    /**
     * 批量删除提前批招生计划
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBusiWishUniversitySubmitPreRecruitPlanByIds(Long[] ids);
}
