package org.dromara.art.mapper;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import org.dromara.art.domain.ArtSchoolCollege;
import org.dromara.art.domain.vo.ArtSchoolCollegeVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

/**
 * 学校学院Mapper接口
 *
 * @author ZhouWenTao
 * @date 2026-02-17
 */
public interface ArtSchoolCollegeMapper extends BaseMapperPlus<ArtSchoolCollege, ArtSchoolCollegeVo> {

    @Delete("DELETE FROM art_school_college WHERE school_id = #{schoolId}")
    int deletePhyBySchoolId(@Param("schoolId") Long schoolId);
}
