package com.yifu.cloud.plus.v1.business.service.system.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yifu.cloud.plus.v1.business.entity.system.TBusWarningMessage;
import com.yifu.cloud.plus.v1.business.mapper.system.TBusWarningMessageMapper;
import com.yifu.cloud.plus.v1.business.service.system.TBusWarningMessageService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * B端预警表
 *
 * @author hgw
 * @date 2021-08-20 17:39:51
 */
@Service("tBusWarningMessageService")
public class TBusWarningMessageServiceImpl extends ServiceImpl<TBusWarningMessageMapper, TBusWarningMessage> implements TBusWarningMessageService {

     /**
      * B端预警表简单分页查询
      *
      * @param tBusWarningMessage B端预警表
      * @return
      */
     @Override
     public IPage<TBusWarningMessage> getTBusWarningMessagePage(Page<TBusWarningMessage> page
             , TBusWarningMessage tBusWarningMessage, List<Long> roleList) {
          return baseMapper.getTBusWarningMessagePage(page, tBusWarningMessage, roleList);
     }

}
