package com.ruoyi.predict.service.impl;

import com.ruoyi.predict.domain.ProjectUspDayData;
import com.ruoyi.predict.mapper.ProjectUspDayDataMapper;
import com.ruoyi.predict.service.IProjectUspDayDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ProjectUspDayDataService业务层处理
 *
 * @author hlf
 * @date 2021-09-15
 */
@Service
public class ProjectUspDayDataServiceImpl implements IProjectUspDayDataService {
    @Autowired(required = false)
    private ProjectUspDayDataMapper projectUspDayDataMapper;

    /**
     * 查询ProjectUspDayData
     *
     * @param projectNo ProjectUspDayDataID
     * @return ProjectUspDayData
     */
    @Override
    public ProjectUspDayData selectProjectUspDayDataById(Long projectNo) {
        return projectUspDayDataMapper.selectProjectUspDayDataById(projectNo);
    }

    /**
     * 查询ProjectUspDayData列表
     *
     * @param projectUspDayData ProjectUspDayData
     * @return ProjectUspDayData
     */
    @Override
    public List<ProjectUspDayData> selectProjectUspDayDataList(ProjectUspDayData projectUspDayData) {
        return projectUspDayDataMapper.selectProjectUspDayDataList(projectUspDayData);
    }
}
