package org.dromara.art.mapper;

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

/**
 * 专业标签Mapper接口
 *
 * @author ZhouWenTao
 * @date 2026-02-17
 */
public interface ArtSchoolMajorTagMapper extends BaseMapperPlus<ArtSchoolMajorTag, ArtSchoolMajorTagVo> {

    @Delete("DELETE FROM art_school_major_tag WHERE major_id = #{majorId}")
    int deletePhyByMajorId(@Param("majorId") Long majorId);
}
