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.RegionalCompaniesDto;
import com.yeejoin.amos.boot.module.hygf.api.entity.RegionalCompanies;
import com.yeejoin.amos.boot.module.hygf.api.mapper.RegionalCompaniesMapper;
import com.yeejoin.amos.boot.module.hygf.api.service.IRegionalCompaniesService;
import org.springframework.stereotype.Service;
import org.typroject.tyboot.core.rdbms.service.BaseService;

import java.util.List;

/**
 * 服务实现类
 *
 * @author system_generator
 * @date 2023-08-29
 */
@Service
public class RegionalCompaniesServiceImpl extends BaseService<RegionalCompaniesDto,RegionalCompanies,RegionalCompaniesMapper> implements IRegionalCompaniesService {
    /**
     * 分页查询
     */
    public Page<RegionalCompaniesDto> queryForRegionalCompaniesPage(Page<RegionalCompaniesDto> page)   {
        return this.queryForPage(page, null, false);
    }

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