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

import com.yeejoin.amos.boot.module.ugp.api.entity.UgpSuperviseRule;
import com.yeejoin.amos.boot.module.ugp.api.mapper.UgpSuperviseRuleMapper;
import com.yeejoin.amos.boot.module.ugp.api.service.IUgpSuperviseRuleService;
import com.yeejoin.amos.boot.module.ugp.api.dto.UgpSuperviseRuleDto;
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 2022-09-21
 */
@Service
public class UgpSuperviseRuleServiceImpl extends BaseService<UgpSuperviseRuleDto,UgpSuperviseRule,UgpSuperviseRuleMapper> implements IUgpSuperviseRuleService {
    /**
     * 分页查询
     */
    public Page<UgpSuperviseRuleDto> queryForUgpSuperviseRulePage(Page<UgpSuperviseRuleDto> page)   {
        return this.queryForPage(page, null, false);
    }

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