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

import com.patzn.lims.equip.entity.LmsEquipElectronicDocuments;
import com.patzn.lims.equip.mapper.LmsEquipElectronicDocumentsMapper;
import com.patzn.lims.equip.service.ILmsEquipElectronicDocumentsService;
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-30
 */
@Service
public class LmsEquipElectronicDocumentsServiceImpl extends BaseServiceImpl<LmsEquipElectronicDocumentsMapper, LmsEquipElectronicDocuments> implements ILmsEquipElectronicDocumentsService {

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