package com.sptg.iot.biz.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.sptg.iot.api.entity.IotApiLog;
import com.sptg.iot.api.entity.IotApiLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zwx
 * @create 2020/10/21 0:46
 */
public interface IotApiLogMapper extends BaseMapper<IotApiLog> {

    public IotApiLog getOne(@Param(value = "ew") Wrapper<IotApiLog> wrapper);

    List<IotApiLog> pagingQuery(@Param(value = "ew") Wrapper<IotApiLog> wrapper,
                                        @Param(value = "current") Pagination page);
}
