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.JpInvertorElecHistoryAllDto;
import com.yeejoin.amos.boot.module.hygf.api.entity.JpInvertorElecHistoryAll;
import com.yeejoin.amos.boot.module.hygf.api.service.IJpInvertorElecHistoryAllService;
import com.yeejoin.amos.boot.module.hygf.api.tdenginemapper.JpInvertorElecHistoryAllMapper;
import org.springframework.stereotype.Service;
import org.typroject.tyboot.core.rdbms.service.BaseService;

import java.util.List;

/**
 * 户用光伏监盘逆变器电能历史表服务实现类
 *
 * @author system_generator
 * @date 2023-09-20
 */
@Service
public class JpInvertorElecHistoryAllServiceImpl extends BaseService<JpInvertorElecHistoryAllDto,JpInvertorElecHistoryAll,JpInvertorElecHistoryAllMapper> implements IJpInvertorElecHistoryAllService {
    /**
     * 分页查询
     */
    public Page<JpInvertorElecHistoryAllDto> queryForJpInvertorElecHistoryAllPage(Page<JpInvertorElecHistoryAllDto> page)   {
        return this.queryForPage(page, null, false);
    }

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