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.ExtendedInformationDto;
import com.yeejoin.amos.boot.module.hygf.api.entity.ExtendedInformation;
import com.yeejoin.amos.boot.module.hygf.api.mapper.ExtendedInformationMapper;
import com.yeejoin.amos.boot.module.hygf.api.service.IExtendedInformationService;
import org.springframework.stereotype.Service;
import org.typroject.tyboot.core.rdbms.service.BaseService;

import java.util.List;

/**
 * 扩展信息服务实现类
 *
 * @author system_generator
 * @date 2023-07-07
 */
@Service
public class ExtendedInformationServiceImpl extends BaseService<ExtendedInformationDto,ExtendedInformation,ExtendedInformationMapper> implements IExtendedInformationService {
    /**
     * 分页查询
     */
    public Page<ExtendedInformationDto> queryForExtendedInformationPage(Page<ExtendedInformationDto> page)   {
        return this.queryForPage(page, null, false);
    }

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