package com.ruoyi.syzy.service;

import java.util.List;

import com.alibaba.fastjson2.JSONObject;
import com.ruoyi.syzy.criteria.UniversityTdxCriteria;
import com.ruoyi.syzy.criteria.ZytbUniversityCriteria;
import com.ruoyi.syzy.domain.BBusiWishUniversitySubmits;

/**
 * 志愿院校录取分数线Service接口
 * 
 * @author mingxue
 * @date 2021-08-20
 */
public interface IBBusiWishUniversitySubmitsService {

    /**
     * 层次
     * 
     * @param location
     * @return
     */
    public List<String> levels(String location,Integer year);

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

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

    /**
     * 查询志愿院校录取分数线
     * 
     * @param id 志愿院校录取分数线ID
     * @return 志愿院校录取分数线
     */
    public BBusiWishUniversitySubmits selectBBusiWishUniversitySubmitsById(Long id);

    /**
     * 查询志愿院校录取分数线列表
     * 
     * @param bBusiWishUniversitySubmits 志愿院校录取分数线
     * @return 志愿院校录取分数线集合
     */
    public List<BBusiWishUniversitySubmits> selectBBusiWishUniversitySubmitsList(BBusiWishUniversitySubmits bBusiWishUniversitySubmits);

    /**
     * 查询志愿院校录取分数线列表
     * 
     * @param criteria
     * @return
     */
    public List<BBusiWishUniversitySubmits> search(UniversityTdxCriteria criteria);

    /**
     * 志愿填报-选择院校
     * 
     * @param criteria
     * @return
     */
    public List<JSONObject> zytb(ZytbUniversityCriteria criteria);

    /**
     * 新增志愿院校录取分数线
     * 
     * @param bBusiWishUniversitySubmits 志愿院校录取分数线
     * @return 结果
     */
    public int insertBBusiWishUniversitySubmits(BBusiWishUniversitySubmits bBusiWishUniversitySubmits);

    /**
     * 修改志愿院校录取分数线
     * 
     * @param bBusiWishUniversitySubmits 志愿院校录取分数线
     * @return 结果
     */
    public int updateBBusiWishUniversitySubmits(BBusiWishUniversitySubmits bBusiWishUniversitySubmits);

    /**
     * 批量删除志愿院校录取分数线
     * 
     * @param ids 需要删除的志愿院校录取分数线ID
     * @return 结果
     */
    public int deleteBBusiWishUniversitySubmitsByIds(Long[] ids);

    /**
     * 删除志愿院校录取分数线信息
     * 
     * @param id 志愿院校录取分数线ID
     * @return 结果
     */
    public int deleteBBusiWishUniversitySubmitsById(Long id);

}
