package com.simuwang.base.mapper.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.simuwang.base.pojo.dos.sys.SysLogDO;
import org.apache.ibatis.annotations.Delete;
import org.springframework.stereotype.Repository;

@Repository
public interface SysLogMapper extends BaseMapper<SysLogDO> {
    /**
     * 清空日志
     */
    @Delete("truncate table sys_log")
    void truncateAll();
}
