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.LmsFrameCheckManageRecord;
import com.patzn.lims.frame.mapper.LmsFrameCheckManageRecordMapper;
import com.patzn.lims.frame.service.ILmsFrameCheckManageRecordService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 管理评审实施操作记录表 服务实现类
 * </p>
 *
 * @author patzn
 * @since 2018-07-19
 */
@Service
public class LmsFrameCheckManageRecordServiceImpl extends BaseServiceImpl<LmsFrameCheckManageRecordMapper, LmsFrameCheckManageRecord> implements ILmsFrameCheckManageRecordService {


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


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