package cn.wise.sc.cement.business.service.impl;

import cn.wise.sc.cement.business.entity.EntrustSample;
import cn.wise.sc.cement.business.entity.SampleHandle;
import cn.wise.sc.cement.business.mapper.SampleHandleMapper;
import cn.wise.sc.cement.business.service.ISampleHandleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ztw
 * @since 2020-08-24
 */
@Service
public class SampleHandleServiceImpl extends ServiceImpl<SampleHandleMapper, SampleHandle> implements ISampleHandleService {

    @Autowired
    SampleHandleMapper sampleHandleMapper;

    @Override
    public List<EntrustSample> getEntrustSample() {
        return sampleHandleMapper.getEntrustSample();
    }

    @Override
    public List<EntrustSample> getEntrustSampleOptimize(Map<String, Object> params) {
        return sampleHandleMapper.getEntrustSampleOptimize(params);
    }
}
