package com.ruoyi.predict.service.impl;

import com.ruoyi.predict.domain.LpWfMonthData;
import com.ruoyi.predict.mapper.LpWfMonthDataMapper;
import com.ruoyi.predict.service.ILpWfMonthDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

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

/**
 * LpWfMonthDataService业务层处理
 *
 * @author hlf
 * @date 2022-03-16
 */
@Service
public class LpWfMonthDataServiceImpl implements ILpWfMonthDataService {
    @Autowired(required = false)
    private LpWfMonthDataMapper lpWfMonthDataMapper;

    /**
     * 查询LpWfMonthData
     *
     * @param wfNo LpWfMonthDataID
     * @return LpWfMonthData
     */
    @Override
    public LpWfMonthData selectLpWfMonthDataById(Long wfNo) {
        return lpWfMonthDataMapper.selectLpWfMonthDataById(wfNo);
    }

    /**
     * 查询LpWfMonthData列表
     *
     * @param lpWfMonthData LpWfMonthData
     * @return LpWfMonthData
     */
    @Override
    public List<LpWfMonthData> selectLpWfMonthDataList(LpWfMonthData lpWfMonthData) {
        return lpWfMonthDataMapper.selectLpWfMonthDataList(lpWfMonthData);
    }

    @Override
    public List<LpWfMonthData> selectLpWfMonthData(Long wfNo, Date dataTime) {
        return lpWfMonthDataMapper.selectLpWfMonthData(wfNo, dataTime);
    }
}
