From 742ac78758a1803e61a2cf825128015733885b2e Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期三, 17 四月 2024 08:50:59 +0800
Subject: [PATCH] 对标准库进行调整,使基础数据和标准库的数据进行互相关联

---
 inspect-server/src/main/resources/mapper/StandardTreeMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml b/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml
index ed98876..fd9986f 100644
--- a/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml
+++ b/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml
@@ -102,5 +102,6 @@
         select sm.code,sm.name,sm.remark from standard_method sm
         left join structure_test_object sto on sm.structure_test_object_id = sto.id
         where sto.specimen_name = #{sampleType}
+        and is_product = 1
     </select>
 </mapper>

--
Gitblit v1.9.3