From ee3982f59a43adaf77de62dd79fcc87af44a304b Mon Sep 17 00:00:00 2001 From: liding <756868258@qq.com> Date: 星期五, 13 六月 2025 14:24:38 +0800 Subject: [PATCH] 树优化 --- basic-server/src/main/resources/mapper/StandardTreeMapper.xml | 19 ++++++++++--------- 1 files changed, 10 insertions(+), 9 deletions(-) diff --git a/basic-server/src/main/resources/mapper/StandardTreeMapper.xml b/basic-server/src/main/resources/mapper/StandardTreeMapper.xml index a011e82..4060428 100644 --- a/basic-server/src/main/resources/mapper/StandardTreeMapper.xml +++ b/basic-server/src/main/resources/mapper/StandardTreeMapper.xml @@ -154,15 +154,7 @@ or sp.sample = '' or sp.sample = '[]' </select> - <select id="getStandardMethodListBySample" resultType="com.ruoyi.basic.pojo.StandardMethodList"> - 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 is_use = 1 - and is_product = 1 - <if test="sampleType != null"> - and sto.specimen_name = #{sampleType} - </if> - </select> + <select id="selectStandardTreeList2" resultType="com.ruoyi.basic.pojo.StandardTree"> select '涓ぉ绉戞妧妫�娴嬩腑蹇�' factory, l.laboratory_name laboratory, @@ -397,4 +389,13 @@ where sample_type = #{sampleType} and sample is null </select> + + <!-- 鏍规嵁鍘熸潗鏂檌d鍒楄〃鏌ヨ鍘熸潗鏂欎俊鎭� --> + <select id="getIfsByIds" resultType="com.ruoyi.basic.dto.IfsInventoryQuantitySupplierDto"> + <include refid="getIfsOrder"/> + where id in + <foreach item="id" collection="ifsIds" open="(" separator="," close=")"> + #{id} + </foreach> + </select> </mapper> -- Gitblit v1.9.3