package org.jeecg.modules.checkData.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.checkData.dto.CorrugationRecordDTO;
import org.jeecg.modules.checkData.dto.RailWearRecordDTO;
import org.jeecg.modules.checkData.entity.CorrugationRecord;
import org.jeecg.modules.checkData.mapper.CorrugationRecordMapper;
import org.jeecg.modules.checkData.service.ICorrugationRecordService;
import org.jeecg.modules.checkData.vo.CorrugationRecordDetailVO;
import org.jeecg.modules.checkData.vo.CorrugationRecordVO;
import org.jeecg.modules.checkData.vo.RailWearRecordDetailVO;
import org.jeecg.modules.checkData.vo.RailWearRecordVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 检查数据-设备检查记录数据-钢轨波磨设备检查记录表	 服务实现类
 * </p>
 *
 * @author hkl
 * @since 2024-07-11
 */
@Service
public class CorrugationRecordServiceImpl extends ServiceImpl<CorrugationRecordMapper, CorrugationRecord> implements ICorrugationRecordService {

    @Override
    public Page<CorrugationRecordVO> queryPageList(Page<CorrugationRecordVO> pageData, CorrugationRecordDTO dto) {
        return this.baseMapper.queryPageList(pageData, dto);
    }
    @Override
    public List<CorrugationRecordDetailVO> getDetail(String id) {
        return this.baseMapper.getDetail(id);
    }
}
