package com.reading.platform.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.reading.platform.entity.Theme;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ThemeMapper extends BaseMapper<Theme> {

    /**
     * 物理删除所有主题数据
     */
    @Delete("DELETE FROM t_theme")
    void deletePhysical();
}
