package com.ruoyi.mall.mapper;

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

/**
 * 院校评估Mapper接口
 *
 * @author lsm
 * @date 2023-10-19
 */
public interface MallSchoolAppraiseMapper
{
    /**
     * 查询院校评估
     *
     * @param appraiseId 院校评估主键
     * @return 院校评估
     */
    public MallSchoolAppraise selectMallSchoolAppraiseByAppraiseId(Long appraiseId);

    /**
     * 查询院校评估列表
     *
     * @param mallSchoolAppraise 院校评估
     * @return 院校评估集合
     */
    public List<MallSchoolAppraise> selectMallSchoolAppraiseList(MallSchoolAppraise mallSchoolAppraise);

    /**
     * 新增院校评估
     *
     * @param mallSchoolAppraise 院校评估
     * @return 结果
     */
    public int insertMallSchoolAppraise(MallSchoolAppraise mallSchoolAppraise);

    /**
     * 修改院校评估
     *
     * @param mallSchoolAppraise 院校评估
     * @return 结果
     */
    public int updateMallSchoolAppraise(MallSchoolAppraise mallSchoolAppraise);

    /**
     * 删除院校评估
     *
     * @param appraiseId 院校评估主键
     * @return 结果
     */
    public int deleteMallSchoolAppraiseByAppraiseId(Long appraiseId);

    /**
     * 批量删除院校评估
     *
     * @param appraiseIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMallSchoolAppraiseByAppraiseIds(Long[] appraiseIds);

    /**
     * 学校专业评估列表
     * @param schoolId 学校id
     * @return 结果
     */
    public List<SchoolAppraiseVO> selectSchoolAppraiseList(@Param("schoolId")Long schoolId);
}
