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.AllPowerDto;
import com.yeejoin.amos.boot.module.hygf.api.entity.AllPower;
import com.yeejoin.amos.boot.module.hygf.api.service.IAllPowerService;
import com.yeejoin.amos.boot.module.hygf.api.tdenginemapper.AllPowerMapper;
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 AllPowerServiceImpl extends BaseService<AllPowerDto,AllPower,AllPowerMapper> implements IAllPowerService {
    /**
     * 分页查询
     */
    public Page<AllPowerDto> queryForAllPowerPage(Page<AllPowerDto> page)   {
        return this.queryForPage(page, null, false);
    }

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