package org.jeecg.modules.qualityControl.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.qualityControl.entity.FdQaBiometricSampleAnalysis;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.qualityControl.entity.FdQaBiometricSampleAnalysisItems;

import java.util.List;

/**
 * @Description: 质量保证（生物样本分析）
 * @author： jeecg-boot
 * @date：   2019-06-11
 * @version： V1.0
 */
public interface IFdQaBiometricSampleAnalysisService extends IService<FdQaBiometricSampleAnalysis> {

    void addAll(FdQaBiometricSampleAnalysis fdQaBiometricSampleAnalysis);

    FdQaBiometricSampleAnalysis queryQaBiometricByConId(String contractId);

    boolean deleteAll(String id);

    IPage<FdQaBiometricSampleAnalysis> findByPage(Page<FdQaBiometricSampleAnalysis> page, QueryWrapper<FdQaBiometricSampleAnalysis> queryWrapper);

    FdQaBiometricSampleAnalysis getBySampleCodeAndType(FdQaBiometricSampleAnalysis fdQaBiometricSampleAnalysis);

    /**
     * @Author chenchuang
     * @Description //TODO 根据明细对象查询对应的图片对象集合
     * @Date 2020/6/19 9:28
     * @Param [itemsList]
     * @return void
     */
    void getPictureUpload(List<FdQaBiometricSampleAnalysisItems> itemsList);
}
