package com.ruoyi.predict.service.impl;

import com.ruoyi.predict.domain.AreaPeriodData;
import com.ruoyi.predict.mapper.AreaPeriodDataMapper;
import com.ruoyi.predict.service.IAreaPeriodDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * AreaPeriodDataService业务层处理
 *
 * @author hlf
 * @date 2021-10-27
 */
@Service
public class AreaPeriodDataServiceImpl implements IAreaPeriodDataService {
    @Autowired(required = false)
    private AreaPeriodDataMapper areaPeriodDataMapper;

    /**
     * 查询AreaPeriodData
     *
     * @param areaNo AreaPeriodDataID
     * @return AreaPeriodData
     */
    @Override
    public AreaPeriodData selectAreaPeriodDataById(Long areaNo) {
        return areaPeriodDataMapper.selectAreaPeriodDataById(areaNo);
    }

    /**
     * 查询AreaPeriodData列表
     *
     * @param areaPeriodData AreaPeriodData
     * @return AreaPeriodData
     */
    @Override
    public List<AreaPeriodData> selectAreaPeriodDataList(AreaPeriodData areaPeriodData) {
        return areaPeriodDataMapper.selectAreaPeriodDataList(areaPeriodData);
    }
}
