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

import com.patzn.lims.consume.entity.LmsChemicalCategoryRole;
import com.patzn.lims.consume.mapper.LmsChemicalCategoryRoleMapper;
import com.patzn.lims.consume.service.ILmsChemicalCategoryRoleService;
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 LmsChemicalCategoryRoleServiceImpl extends BaseServiceImpl<LmsChemicalCategoryRoleMapper, LmsChemicalCategoryRole> implements ILmsChemicalCategoryRoleService {

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