zss
2023-08-22 9af79e89d057f44b142fa8af6ae394d2ce7ccfe3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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();
}