package com.ruoyi.predict.service.impl;

import com.ruoyi.predict.domain.LpWfYearData;
import com.ruoyi.predict.mapper.LpWfYearDataMapper;
import com.ruoyi.predict.service.ILpWfYearDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

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

/**
 * LpWfYearDataService业务层处理
 *
 * @author hlf
 * @date 2022-03-16
 */
@Service
public class LpWfYearDataServiceImpl implements ILpWfYearDataService {
    @Autowired(required = false)
    private LpWfYearDataMapper lpWfYearDataMapper;

    /**
     * 查询LpWfYearData
     *
     * @param wfNo LpWfYearDataID
     * @return LpWfYearData
     */
    @Override
    public LpWfYearData selectLpWfYearDataById(Long wfNo) {
        return lpWfYearDataMapper.selectLpWfYearDataById(wfNo);
    }

    /**
     * 查询LpWfYearData列表
     *
     * @param lpWfYearData LpWfYearData
     * @return LpWfYearData
     */
    @Override
    public List<LpWfYearData> selectLpWfYearDataList(LpWfYearData lpWfYearData) {
        return lpWfYearDataMapper.selectLpWfYearDataList(lpWfYearData);
    }

    @Override
    public List<LpWfYearData> selectLpWfYearData(Long wfNo, Date dataTime) {
        return lpWfYearDataMapper.selectLpWfYearData(wfNo, dataTime);
    }
}
