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

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.checkData.equipmentCheckData.dto.RailWearRecordDTO;
import org.jeecg.modules.checkData.equipmentCheckData.entity.RailWearRecord;
import org.jeecg.modules.checkData.equipmentCheckData.mapper.RailWearRecordMapper;
import org.jeecg.modules.checkData.equipmentCheckData.service.IRailWearRecordService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.checkData.equipmentCheckData.vo.RailWearRecordDetailVO;
import org.jeecg.modules.checkData.equipmentCheckData.vo.RailWearRecordVO;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 检查数据-设备检查记录数据-钢轨伤损情况检查表 服务实现类
 * </p>
 *
 * @author hkl
 * @since 2023-07-09
 */
@Service
public class RailWearRecordServiceImpl extends ServiceImpl<RailWearRecordMapper, RailWearRecord> implements IRailWearRecordService {

    @Override
    public Page<RailWearRecordVO> queryPageList(Page<RailWearRecordVO> pageData, RailWearRecordDTO dto) {
        return this.baseMapper.queryPageList(pageData, dto);
    }

    @Override
    public RailWearRecordDetailVO getDetail(String id) {
        return this.baseMapper.getDetail(id);
    }
}
