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

import com.yeejoin.amos.boot.module.ugp.api.entity.SuperviseRule;
import com.yeejoin.amos.boot.module.ugp.api.mapper.SuperviseRuleMapper;
import com.yeejoin.amos.boot.module.ugp.api.service.ISuperviseRuleService;
import com.yeejoin.amos.boot.module.ugp.api.dto.SuperviseRuleDto;
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-22
 */
@Service
public class SuperviseRuleServiceImpl extends BaseService<SuperviseRuleDto,SuperviseRule,SuperviseRuleMapper> implements ISuperviseRuleService {
    /**
     * 分页查询
     */
    public Page<SuperviseRuleDto> queryForSuperviseRulePage(Page<SuperviseRuleDto> page, Long superviseDeptId, Long inspectionUnitId,Integer adminRegionCode)   {
        return this.queryForPage(page, null, false, superviseDeptId, inspectionUnitId,adminRegionCode );
    }

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