package com.ruoyi.predict.service.impl;

import com.ruoyi.predict.domain.LpProjectMonthData;
import com.ruoyi.predict.mapper.LpProjectMonthDataMapper;
import com.ruoyi.predict.service.ILpProjectMonthDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

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

/**
 * LpProjectMonthDataService业务层处理
 *
 * @author hlf
 * @date 2022-03-16
 */
@Service
public class LpProjectMonthDataServiceImpl implements ILpProjectMonthDataService {
    @Autowired(required = false)
    private LpProjectMonthDataMapper lpProjectMonthDataMapper;

    /**
     * 查询LpProjectMonthData
     *
     * @param wfPrNo LpProjectMonthDataID
     * @return LpProjectMonthData
     */
    @Override
    public LpProjectMonthData selectLpProjectMonthDataById(Long wfPrNo) {
        return lpProjectMonthDataMapper.selectLpProjectMonthDataById(wfPrNo);
    }

    /**
     * 查询LpProjectMonthData列表
     *
     * @param lpProjectMonthData LpProjectMonthData
     * @return LpProjectMonthData
     */
    @Override
    public List<LpProjectMonthData> selectLpProjectMonthDataList(LpProjectMonthData lpProjectMonthData) {
        return lpProjectMonthDataMapper.selectLpProjectMonthDataList(lpProjectMonthData);
    }

    @Override
    public List<LpProjectMonthData> selectLpProjectMonthData(Long wfPrNo, Date dataTime) {
        return lpProjectMonthDataMapper.selectLpProjectMonthData(wfPrNo, dataTime);
    }
}
