package com.yeejoin.amos.boot.module.hygf.biz.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yeejoin.amos.boot.module.hygf.api.dto.TdHygfJpStationPowerHistoryDto;
import com.yeejoin.amos.boot.module.hygf.api.entity.TdHygfJpStationPowerHistory;
import com.yeejoin.amos.boot.module.hygf.api.service.ITdHygfJpStationPowerHistoryService;
import com.yeejoin.amos.boot.module.hygf.api.tdenginemapper.TdHygfJpStationPowerHistoryMapper;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
import org.typroject.tyboot.core.rdbms.service.BaseService;

import java.util.List;
import java.util.Map;

/**
 * 户用光伏监盘电站功率表服务实现类
 *
 * @author system_generator
 * @date 2023-09-19
 */
@Service
public class TdHygfJpStationPowerHistoryServiceImpl extends BaseService<TdHygfJpStationPowerHistoryDto,TdHygfJpStationPowerHistory,TdHygfJpStationPowerHistoryMapper> implements ITdHygfJpStationPowerHistoryService {
    /**
     * 分页查询
     */
    public Page<TdHygfJpStationPowerHistoryDto> queryForTdHygfJpStationPowerHistoryPage(Page<TdHygfJpStationPowerHistoryDto> page)   {
        return this.queryForPage(page, null, false);
    }

    /**
     * 列表查询 示例
     */
    public List<TdHygfJpStationPowerHistoryDto> queryForTdHygfJpStationPowerHistoryList()   {
        return this.queryForList("" , false);
    }


    @Override
    @Async
    public Map<String, Double> getacgNum() {
        return null;
    }
}