package com.ruoyi.predict.service.impl;

import com.ruoyi.predict.domain.LpProjectYearData;
import com.ruoyi.predict.mapper.LpProjectYearDataMapper;
import com.ruoyi.predict.service.ILpProjectYearDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

/**
 * LpProjectYearDataService业务层处理
 *
 * @author hlf
 * @date 2022-03-16
 */
@Service
public class LpProjectYearDataServiceImpl implements ILpProjectYearDataService {
    @Autowired(required = false)
    private LpProjectYearDataMapper lpProjectYearDataMapper;

    /**
     * 查询LpProjectYearData
     *
     * @param wfPrNo LpProjectYearDataID
     * @return LpProjectYearData
     */
    @Override
    public LpProjectYearData selectLpProjectYearDataById(Long wfPrNo) {
        return lpProjectYearDataMapper.selectLpProjectYearDataById(wfPrNo);
    }

    /**
     * 查询LpProjectYearData列表
     *
     * @param lpProjectYearData LpProjectYearData
     * @return LpProjectYearData
     */
    @Override
    public List<LpProjectYearData> selectLpProjectYearDataList(LpProjectYearData lpProjectYearData) {
        return lpProjectYearDataMapper.selectLpProjectYearDataList(lpProjectYearData);
    }

    @Override
    public List<LpProjectYearData> selectLpProjectYearData(Long wfPrNo, Date dataTime) {
        return lpProjectYearDataMapper.selectLpProjectYearData(wfPrNo, dataTime);
    }
}
