/**
 * Copyright 2019 DH
 * All right reserved.
 * 项目名称: 大恒泰山系统
 * 创建日期:2022/9/8
 */
package org.springblade.etl.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springblade.etl.entity.EtlRainDataEntity;
import org.springblade.etl.mapper.EtlRainDataMapper;
import org.springblade.etl.service.IEtlRainDataService;
import org.springframework.stereotype.Service;

import java.util.List;


/***
 * Date:2022/9/8
 * Title:雨情数据接口实现
 * Description：对本文件的详细描述，原则上不能少于30字
 * @author dylan
 * @version 1.0
 * Remark：认为有必要的其他信息
 */
@Service
@DS("oracle_1")
public class EtlRainDataServiceImpl extends BaseServiceImpl<EtlRainDataMapper, EtlRainDataEntity> implements IEtlRainDataService {

    @Override
    public List<EtlRainDataEntity> selectLastList(EtlRainDataEntity entity) {
        return baseMapper.selectLastList(entity);
    }

    @Override
    public List<EtlRainDataEntity> selectNewList(EtlRainDataEntity entity) {
        return baseMapper.selectNewList(entity);
    }
}
