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.SurveyDetailsDto;
import com.yeejoin.amos.boot.module.hygf.api.entity.SurveyDetails;
import com.yeejoin.amos.boot.module.hygf.api.mapper.SurveyDetailsMapper;
import com.yeejoin.amos.boot.module.hygf.api.service.ISurveyDetailsService;
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 SurveyDetailsServiceImpl extends BaseService<SurveyDetailsDto,SurveyDetails,SurveyDetailsMapper> implements ISurveyDetailsService {
    /**
     * 分页查询
     */
    public Page<SurveyDetailsDto> queryForSurveyDetailsPage(Page<SurveyDetailsDto> page)   {
        return this.queryForPage(page, null, false);
    }

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