package com.ruoyi.mall.service;

import java.util.List;
import java.util.Map;

import com.ruoyi.mall.domain.MallSchoolAcceptRecord;

/**
 * 院校录取数据Service接口
 *
 * @author lsm
 * @date 2023-10-19
 */
public interface IMallSchoolAcceptRecordService
{
    /**
     * 查询院校录取数据
     *
     * @param schoolAcceptRecordId 院校录取数据主键
     * @return 院校录取数据
     */
    public MallSchoolAcceptRecord selectMallSchoolAcceptRecordBySchoolAcceptRecordId(Long schoolAcceptRecordId);

    /**
     * 查询院校录取数据列表
     *
     * @param mallSchoolAcceptRecord 院校录取数据
     * @return 院校录取数据集合
     */
    public List<MallSchoolAcceptRecord> selectMallSchoolAcceptRecordList(MallSchoolAcceptRecord mallSchoolAcceptRecord);

    /**
     * 新增院校录取数据
     *
     * @param mallSchoolAcceptRecord 院校录取数据
     * @return 结果
     */
    public int insertMallSchoolAcceptRecord(MallSchoolAcceptRecord mallSchoolAcceptRecord);

    /**
     * 修改院校录取数据
     *
     * @param mallSchoolAcceptRecord 院校录取数据
     * @return 结果
     */
    public int updateMallSchoolAcceptRecord(MallSchoolAcceptRecord mallSchoolAcceptRecord);

    /**
     * 批量删除院校录取数据
     *
     * @param schoolAcceptRecordIds 需要删除的院校录取数据主键集合
     * @return 结果
     */
    public int deleteMallSchoolAcceptRecordBySchoolAcceptRecordIds(Long[] schoolAcceptRecordIds);

    /**
     * 删除院校录取数据信息
     *
     * @param schoolAcceptRecordId 院校录取数据主键
     * @return 结果
     */
    public int deleteMallSchoolAcceptRecordBySchoolAcceptRecordId(Long schoolAcceptRecordId);

    /**
     * 各层次院校录取分析列表
     *
     * @param batchId 批次ID
     * @param years 年份
     * @return 层次院校录取分析集合
     */
    public List<Map<String, Object>> selectAllLevelsMallSchoolAcceptRecordList(Long batchId, String years);

    public void update();
}
