package com.ruoyi.mall.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.ruoyi.mall.domain.MallSchoolAcceptRules;
import com.ruoyi.mall.domain.Vo.SchoolRulesVO;
import org.apache.ibatis.annotations.Param;

/**
 * 招生简章Service接口
 *
 * @author lsm
 * @date 2023-10-19
 */
public interface IMallSchoolAcceptRulesService
{
    /**
     * 查询招生简章
     *
     * @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 acceptRulesIds 需要删除的招生简章主键集合
     * @return 结果
     */
    public int deleteMallSchoolAcceptRulesByAcceptRulesIds(Long[] acceptRulesIds);

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

    /**
     * 招生简章列表
     * @return 结果
     */
    public PageInfo<SchoolRulesVO> selectRulesList(String searchValue,
                                                   Integer pageNum,
                                                   Integer pageSize);

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