package vip.xiaonuo.disk.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import vip.xiaonuo.disk.domain.OperationLogBean;
import vip.xiaonuo.disk.vo.operationLog.OperationLogBeanVo;

import java.util.List;
import java.util.Map;

public interface OperationLogMapper extends BaseMapper<OperationLogBean> {

    List<OperationLogBeanVo> selectOperationLog(@Param("type") String  type, @Param("userId") String userId);

    Page<Map<String, Object>> getAllList(@Param("type")String type, @Param("startDate") String startDate, @Param("endDate") String endDate, @Param("userName") String userName,  @Param("page")  Page<Object> build);
}
