From 71a860affbf97e7be13a2059b6cb001bfd368adb Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期日, 28 四月 2024 14:34:25 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
inspect-server/src/main/resources/mapper/StandardTreeMapper.xml | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml b/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml
index d5f28cd..b867cbb 100644
--- a/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml
+++ b/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml
@@ -131,4 +131,14 @@
where sto.specimen_name = #{sampleType}
group by sto.specimen_name
</select>
+ <select id="selectStandardProductListByTree" resultType="com.yuanchu.mom.pojo.StandardProductList">
+ select * from structure_item_parameter
+ where sample is NULL
+ OR sample = ''
+ or sample = '[]'
+ OR sample LIKE CONCAT('%["', #{tree1}, '"]%')
+ <if test="tree2 != null and tree2 != ''">
+ OR sample LIKE CONCAT('%["', #{tree2}, '"]%')
+ </if>
+ </select>
</mapper>
--
Gitblit v1.9.3