package com.gyee.runeconomy.service.auto.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gyee.runeconomy.mapper.auto.ProEconActivePowerDataMapper;
import com.gyee.runeconomy.model.auto.ProEconActivePowerData;
import com.gyee.runeconomy.model.vo.FitClassVo;
import com.gyee.runeconomy.service.auto.IProEconActivePowerDataService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 动态功率数据 服务实现类
 * </p>
 *
 * @author shilin
 * @since 2022-10-27
 */
@Service
public class ProEconActivePowerDataServiceImpl extends ServiceImpl<ProEconActivePowerDataMapper, ProEconActivePowerData> implements IProEconActivePowerDataService {

    @Resource
    private ProEconActivePowerDataMapper proEconActivePowerDataMapper;


    @Override
    public List<FitClassVo> getFitList(String windpowerstationId, Date beginDate, Date endDate) {
        return proEconActivePowerDataMapper.getFitList(windpowerstationId, beginDate, endDate);
    }
}
