XiaoRuby
2023-08-22 f77a2eba10ce3f430d31a34790a8a1184c8069e6
inspection-server/src/main/java/com/yuanchu/limslaboratory/mapper/InspectionProductMapper.java
@@ -3,6 +3,8 @@
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuanchu.limslaboratory.pojo.InspectionProduct;
import java.util.List;
/**
 * 申请单下物料中的项目(InspectionProduct)表数据库访问层
 *
@@ -11,5 +13,19 @@
 */
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();
}