package com.gyee.wisdom.alarm.sharding.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gyee.wisdom.alarm.sharding.entity.Scadabj;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ScadabjMapper extends BaseMapper<Scadabj> {

    IPage<Scadabj> pageQueryAll(Page page,
                                @Param("pointKey")String pointKey,
                                @Param("stationId")String stationId,
                                @Param("enable") String enable,
                                @Param("description")String description);

    List<Scadabj> getAll();


}
