zss
2023-08-22 8c37d903a2fe25d5857c4555c791d552bec60cb8
inspection-server/src/main/java/com/yuanchu/limslaboratory/mapper/InspectionProductMapper.java
@@ -3,6 +3,9 @@
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuanchu.limslaboratory.pojo.InspectionProduct;
import java.util.List;
import java.util.Map;
/**
 * 申请单下物料中的项目(InspectionProduct)表数据库访问层
 *
@@ -11,5 +14,21 @@
 */
public interface InspectionProductMapper extends BaseMapper<InspectionProduct> {
    //根据检验单id查询检验项目的检验结果
    List<Integer> getresult(Integer id);
    //根据检验样品id作废检验项目
    void updat(Integer id);
    //计算已检验项目数量
    Integer seleCountInspro();
    //计算未检验项目数量
    Integer seleCountUnInspro();
    //检验项目,设备,检验开始时间,执行人,检验结束时间
    List<Map<String, Object>> getResultNum();
}