package com.yifu.cloud.plus.v1.business.mapper.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.business.entity.system.TBusWarningMessage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * B端预警表
 *
 * @author hgw
 * @date 2021-08-20 17:39:51
 */
@Mapper
public interface TBusWarningMessageMapper extends BaseMapper<TBusWarningMessage> {
     /**
      * B端预警表简单分页查询
      *
      * @param tBusWarningMessage B端预警表
      * @return
      */
     IPage<TBusWarningMessage> getTBusWarningMessagePage(Page<TBusWarningMessage> page
             , @Param("tBusWarningMessage") TBusWarningMessage tBusWarningMessage
             , @Param("roleList") List<Long> roleList);

}
