package com.zioinfo.mall.admin.mapper;

import com.zioinfo.mall.admin.dto.AuditLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AuditLogMapper {

    int insert(AuditLog log);

    List<AuditLog> find(@Param("action") String action,
                        @Param("actor") String actor,
                        @Param("limit") int limit);
}
