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

import com.patzn.lims.consume.entity.LmsChemicalAttachment;
import com.patzn.lims.consume.mapper.LmsChemicalAttachmentMapper;
import com.patzn.lims.consume.service.ILmsChemicalAttachmentService;
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-21
 */
@Service
public class LmsChemicalAttachmentServiceImpl extends BaseServiceImpl<LmsChemicalAttachmentMapper, LmsChemicalAttachment> implements ILmsChemicalAttachmentService {

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