package org.dromara.art.mapper;

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

/**
 * 学校招生代码Mapper接口
 *
 * @author ZhouWenTao
 * @date 2026-02-19
 */
public interface ArtSchoolEnrollCodeMapper extends BaseMapperPlus<ArtSchoolEnrollCode, ArtSchoolEnrollCodeVo> {

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