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.ConstructionRecordsDto;
import com.yeejoin.amos.boot.module.hygf.api.entity.ConstructionRecords;
import com.yeejoin.amos.boot.module.hygf.api.mapper.ConstructionRecordsMapper;
import com.yeejoin.amos.boot.module.hygf.api.service.IConstructionRecordsService;
import org.springframework.stereotype.Service;
import org.typroject.tyboot.core.rdbms.service.BaseService;

import java.util.List;

/**
 * 施工日志服务实现类
 *
 * @author system_generator
 * @date 2024-01-15
 */
@Service
public class ConstructionRecordsServiceImpl extends BaseService<ConstructionRecordsDto,ConstructionRecords,ConstructionRecordsMapper> implements IConstructionRecordsService {
    /**
     * 分页查询
     */
    public Page<ConstructionRecordsDto> queryForConstructionRecordsPage(Page<ConstructionRecordsDto> page)   {
        return this.queryForPage(page, null, false);
    }

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