package org.dromara.art.mapper;

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

/**
 * 学校专业Mapper接口
 *
 * @author ZhouWenTao
 * @date 2026-02-17
 */
public interface ArtSchoolMajorMapper extends BaseMapperPlus<ArtSchoolMajor, ArtSchoolMajorVo> {

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