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.LmsFrameInnerCheckManageRecord;
import com.patzn.lims.frame.mapper.LmsFrameInnerCheckManageRecordMapper;
import com.patzn.lims.frame.service.ILmsFrameInnerCheckManageRecordService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 内审实施操作日志表 服务实现类
 * </p>
 *
 * @author patzn
 * @since 2018-07-18
 */
@Service
public class LmsFrameInnerCheckManageRecordServiceImpl extends BaseServiceImpl<LmsFrameInnerCheckManageRecordMapper, LmsFrameInnerCheckManageRecord> implements ILmsFrameInnerCheckManageRecordService {


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

        return this.page(page, wrapper);
    }


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