From 81f615750dec3e3aba4b607033609a1f3c7fc7fd Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期五, 15 三月 2024 16:03:18 +0800
Subject: [PATCH] 业务管理:检验任务(update)

---
 inspect-server/src/main/java/com/yuanchu/mom/service/impl/StandardTreeServiceImpl.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/inspect-server/src/main/java/com/yuanchu/mom/service/impl/StandardTreeServiceImpl.java b/inspect-server/src/main/java/com/yuanchu/mom/service/impl/StandardTreeServiceImpl.java
index 9afd65f..fe4ec92 100644
--- a/inspect-server/src/main/java/com/yuanchu/mom/service/impl/StandardTreeServiceImpl.java
+++ b/inspect-server/src/main/java/com/yuanchu/mom/service/impl/StandardTreeServiceImpl.java
@@ -48,7 +48,7 @@
     @Transactional(rollbackFor = Exception.class)
     public int addStandardTree(StandardTree standardTree) {
         if(standardTree.getSample()!=null){
-            List<StandardProductList> list = standardTreeMapper.getStandardProductListBySample(standardTree.getSample());
+            List<StandardProductList> list = standardTreeMapper.getStandardProductListBySample(standardTree.getSampleType());
             for (StandardProductList standardProductList : list) {
                 standardProductList.setFactory(standardTree.getFactory());
                 standardProductList.setLaboratory(standardTree.getLaboratory());

--
Gitblit v1.9.3