package com.patzn.lims.equip.service.impl;

import com.patzn.lims.equip.entity.LmsEquipMaintainHistory;
import com.patzn.lims.equip.mapper.LmsEquipMaintainHistoryMapper;
import com.patzn.lims.equip.service.ILmsEquipMaintainHistoryService;
import com.patzn.lims.core.web.BaseServiceImpl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 仪器保养实施历史表 服务实现类
 * </p>
 *
 * @author wwd
 * @since 2020-03-28
 */
@Service
public class LmsEquipMaintainHistoryServiceImpl extends BaseServiceImpl<LmsEquipMaintainHistoryMapper, LmsEquipMaintainHistory> implements ILmsEquipMaintainHistoryService {

    @Override
    public Page<LmsEquipMaintainHistory> page(Page<LmsEquipMaintainHistory> page, LmsEquipMaintainHistory lmsEquipMaintainHistory) {
        QueryWrapper<LmsEquipMaintainHistory> wrapper = Wrappers.<LmsEquipMaintainHistory>query(lmsEquipMaintainHistory);
        return this.page(page, wrapper);
    }
}
