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.LmsFrameCustomerInvestigateDetailRecord;
import com.patzn.lims.frame.mapper.LmsFrameCustomerInvestigateDetailRecordMapper;
import com.patzn.lims.frame.service.ILmsFrameCustomerInvestigateDetailRecordService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 内审计划操作记录表 服务实现类
 * </p>
 *
 * @author patzn
 * @since 2018-07-19
 */
@Service
public class LmsFrameCustomerInvestigateDetailRecordServiceImpl extends BaseServiceImpl<LmsFrameCustomerInvestigateDetailRecordMapper, LmsFrameCustomerInvestigateDetailRecord> implements ILmsFrameCustomerInvestigateDetailRecordService {


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

        return this.page(page, wrapper);
    }


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