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.IotAlarm;
import com.sptg.iot.api.entity.IotAlarmWorkOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zwx
 * @create 2020/10/19 23:07
 */
public interface IotAlarmWorkOrderMapper extends BaseMapper<IotAlarmWorkOrder> {

    public List<IotAlarmWorkOrder> getList(@Param(value = "ew") Wrapper<IotAlarmWorkOrder> wrapper);

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

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