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

import com.patzn.lims.res.entity.SysMsgRelUser;
import com.patzn.lims.res.mapper.SysMsgRelUserMapper;
import com.patzn.lims.res.service.ISysMsgRelUserService;
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-18
 */
@Service
public class SysMsgRelUserServiceImpl extends BaseServiceImpl<SysMsgRelUserMapper, SysMsgRelUser> implements ISysMsgRelUserService {

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