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

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.checkData.equipmentCheckData.dto.CurveWearRecordDTO;
import org.jeecg.modules.checkData.equipmentCheckData.entity.CurveWearRecord;
import org.jeecg.modules.checkData.equipmentCheckData.mapper.CurveWearRecordMapper;
import org.jeecg.modules.checkData.equipmentCheckData.service.ICurveWearRecordService;
import org.jeecg.modules.checkData.equipmentCheckData.vo.CurveWearRecordDetailVO;
import org.jeecg.modules.checkData.equipmentCheckData.vo.CurveWearRecordVO;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 检查数据设备-设备检查记录数据-曲线磨耗情况检查 服务实现类
 * </p>
 *
 * @author hkl
 * @since 2023-07-09
 */
@Service
public class CurveWearRecordServiceImpl extends ServiceImpl<CurveWearRecordMapper, CurveWearRecord> implements ICurveWearRecordService {

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

    @Override
    public CurveWearRecordDetailVO getDetail(String curveWearRecordId) {
        return this.baseMapper.getDetail(curveWearRecordId);
    }
}
