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

import com.yeejoin.amos.boot.module.hygf.api.entity.DayPower;
import com.yeejoin.amos.boot.module.hygf.api.tdenginemapper.DayPowerMapper;
import com.yeejoin.amos.boot.module.hygf.api.service.IDayPowerService;
import com.yeejoin.amos.boot.module.hygf.api.dto.DayPowerDto;
import org.typroject.tyboot.core.rdbms.service.BaseService;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;

/**
 * 服务实现类
 *
 * @author system_generator
 * @date 2023-09-21
 */
@Service
public class DayPowerServiceImpl extends BaseService<DayPowerDto,DayPower,DayPowerMapper> implements IDayPowerService {
    /**
     * 分页查询
     */
    public Page<DayPowerDto> queryForDayPowerPage(Page<DayPowerDto> page)   {
        return this.queryForPage(page, null, false);
    }

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