package org.dromara.art.mapper;

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

/**
 * 学校校区Mapper接口
 *
 * @author ZhouWenTao
 * @date 2026-02-17
 */
public interface ArtSchoolCampusMapper extends BaseMapperPlus<ArtSchoolCampus, ArtSchoolCampusVo> {

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