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.HygfOnGridDto;
import com.yeejoin.amos.boot.module.hygf.api.entity.HygfOnGrid;
import com.yeejoin.amos.boot.module.hygf.api.mapper.HygfOnGridMapper;
import com.yeejoin.amos.boot.module.hygf.api.service.IHygfOnGridService;
import org.springframework.stereotype.Service;
import org.typroject.tyboot.core.rdbms.service.BaseService;

import java.util.List;

/**
 * 并网信息服务实现类
 *
 * @author system_generator
 * @date 2024-01-12
 */
@Service
public class HygfOnGridServiceImpl extends BaseService<HygfOnGridDto,HygfOnGrid,HygfOnGridMapper> implements IHygfOnGridService {
    /**
     * 分页查询
     */
    public Page<HygfOnGridDto> queryForHygfOnGridPage(Page<HygfOnGridDto> page)   {
        return this.queryForPage(page, null, false);
    }

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