From a680563f53b7b5db7507dd0ff6027f724567ea2b Mon Sep 17 00:00:00 2001 From: value <z1292839451@163.com> Date: 星期四, 20 六月 2024 11:21:27 +0800 Subject: [PATCH] 标准库支持无型号 --- inspect-server/src/main/resources/mapper/StandardTreeMapper.xml | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml b/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml index f735849..b461dc1 100644 --- a/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml +++ b/inspect-server/src/main/resources/mapper/StandardTreeMapper.xml @@ -279,4 +279,10 @@ and (inspection_item_subclass is null or inspection_item_subclass = '') </if> </select> + <select id="selectPList" resultType="com.yuanchu.mom.dto.ProductDto"> + select p.name from structure_test_object sto + left join product p on p.object_id = sto.id + where sto.specimen_name = #{name} + order by p.id + </select> </mapper> -- Gitblit v1.9.3