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.DesignInformationDto;
import com.yeejoin.amos.boot.module.hygf.api.entity.DesignInformation;
import com.yeejoin.amos.boot.module.hygf.api.mapper.DesignInformationMapper;
import com.yeejoin.amos.boot.module.hygf.api.service.IDesignInformationService;
import org.springframework.stereotype.Service;
import org.typroject.tyboot.core.rdbms.service.BaseService;

import java.util.List;

/**
 * 设计信息服务实现类
 *
 * @author system_generator
 * @date 2023-07-14
 */
@Service
public class DesignInformationServiceImpl extends BaseService<DesignInformationDto,DesignInformation,DesignInformationMapper> implements IDesignInformationService {
    /**
     * 分页查询
     */
    public Page<DesignInformationDto> queryForDesignInformationPage(Page<DesignInformationDto> page)   {
        return this.queryForPage(page, null, false);
    }

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