package com.yuanchu.limslaboratory.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.yuanchu.limslaboratory.pojo.InspectionProduct;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* 申请单下物料中的项目(InspectionProduct)表数据库访问层
|
*
|
* @author zss
|
* @since 2023-08-03 13:04:54
|
*/
|
public interface InspectionProductMapper extends BaseMapper<InspectionProduct> {
|
|
//根据项目id将已有的检验结论改为null
|
void upda(Integer id);
|
|
//根据检验单id查询检验项目的检验结果
|
List<Integer> getresult(Integer id);
|
|
//根据检验样品id作废检验项目
|
void updat(Integer id);
|
|
//计算已检验项目数量
|
Integer seleCountInspro();
|
|
//计算未检验项目数量
|
Integer seleCountUnInspro();
|
|
//检验项目,设备,检验开始时间,执行人,检验结束时间
|
List<Map<String, Object>> getResultNum();
|
}
|