From ecaf6326139d524e71c96b7fa459f452f8498065 Mon Sep 17 00:00:00 2001 From: value <z1292839451@163.com> Date: 星期日, 28 四月 2024 07:33:12 +0800 Subject: [PATCH] 标准库刷新检验项目 --- 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