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

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.patzn.lims.core.web.BaseServiceImpl;
import com.patzn.lims.frame.entity.LmsFrameLog;
import com.patzn.lims.frame.mapper.LmsFrameLogMapper;
import com.patzn.lims.frame.service.ILmsFrameLogService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 体系管理操作日志表 服务实现类
 * </p>
 *
 * @author patzn123
 * @since 2018-01-11
 */
@Service
public class LmsFrameLogServiceImpl extends BaseServiceImpl<LmsFrameLogMapper, LmsFrameLog> implements ILmsFrameLogService {


    @Override
    public Page<LmsFrameLog> page(Page<LmsFrameLog> page, LmsFrameLog lmsFrameLog) {
         QueryWrapper wrapper = Wrappers.query(lmsFrameLog);

        return this.page(page, wrapper);
    }


    @Override
    public List<LmsFrameLog> list(LmsFrameLog lmsFrameLog) {
        return this.list(Wrappers.query(lmsFrameLog));
    }
}
