package com.ruoyi.mall.mapper;

import java.util.List;
import com.ruoyi.mall.domain.MallSchoolAcceptRules;
import com.ruoyi.mall.domain.Vo.SchoolRulesVO;
import org.apache.ibatis.annotations.Param;

/**
 * 招生简章Mapper接口
 *
 * @author lsm
 * @date 2023-10-19
 */
public interface MallSchoolAcceptRulesMapper
{
    /**
     * 查询招生简章
     *
     * @param acceptRulesId 招生简章主键
     * @return 招生简章
     */
    public MallSchoolAcceptRules selectMallSchoolAcceptRulesByAcceptRulesId(Long acceptRulesId);

    /**
     * 查询招生简章列表
     *
     * @param mallSchoolAcceptRules 招生简章
     * @return 招生简章集合
     */
    public List<MallSchoolAcceptRules> selectMallSchoolAcceptRulesList(MallSchoolAcceptRules mallSchoolAcceptRules);

    /**
     * 新增招生简章
     *
     * @param mallSchoolAcceptRules 招生简章
     * @return 结果
     */
    public int insertMallSchoolAcceptRules(MallSchoolAcceptRules mallSchoolAcceptRules);

    /**
     * 修改招生简章
     *
     * @param mallSchoolAcceptRules 招生简章
     * @return 结果
     */
    public int updateMallSchoolAcceptRules(MallSchoolAcceptRules mallSchoolAcceptRules);

    /**
     * 删除招生简章
     *
     * @param acceptRulesId 招生简章主键
     * @return 结果
     */
    public int deleteMallSchoolAcceptRulesByAcceptRulesId(Long acceptRulesId);

    /**
     * 批量删除招生简章
     *
     * @param acceptRulesIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMallSchoolAcceptRulesByAcceptRulesIds(Long[] acceptRulesIds);

    /**
     * 学校招生简章
     * @param schoolId 学校id
     * @return 结果
     */
    public List<SchoolRulesVO> selectSchoolRulesList(@Param("schoolId")Long schoolId);

    /**
     * 招生简章列表
     * @return 结果
     */
    public List<SchoolRulesVO> selectRulesList(@Param("searchValue")String searchValue);

    /**
     * 招生简章详情
     * @param acceptRulesId 简章id
     * @return 结果
     */
    public SchoolRulesVO selectRulesDetail(@Param("acceptRulesId")Long acceptRulesId);


}
