XiaoRuby
2023-08-22 f77a2eba10ce3f430d31a34790a8a1184c8069e6
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
package com.yuanchu.limslaboratory.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuanchu.limslaboratory.pojo.InspectionProduct;
 
import java.util.List;
 
/**
 * 申请单下物料中的项目(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();
}