package com.ruoyi.ucp.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.ucp.entity.StationInfoHour;
import com.ruoyi.ucp.mapper.StationInfoHourMapper;
import com.ruoyi.ucp.service.IStationInfoHourService;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author gfhd
 * @since 2024-03-05
 */
@Service
@DataSource(DataSourceType.SLAVE)
public class StationInfoHourServiceImpl extends ServiceImpl<StationInfoHourMapper, StationInfoHour> implements IStationInfoHourService {

    @Override
    public boolean saveOrUpdateBatch(Collection<StationInfoHour> entityList) {
        return super.saveOrUpdateBatch(entityList);
    }

    @Override
    public List<StationInfoHour> list(Wrapper<StationInfoHour> queryWrapper) {
        return super.list(queryWrapper);
    }
}
