From a70731ffad9f4481bf3c934ee5e38e5c2c1becf8 Mon Sep 17 00:00:00 2001 From: zhuo <2089219845@qq.com> Date: 星期五, 14 三月 2025 13:11:00 +0800 Subject: [PATCH] 修改原材料查询树 --- basic-server/src/main/resources/mapper/StandardTreeMapper.xml | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/basic-server/src/main/resources/mapper/StandardTreeMapper.xml b/basic-server/src/main/resources/mapper/StandardTreeMapper.xml index 2b426b4..a011e82 100644 --- a/basic-server/src/main/resources/mapper/StandardTreeMapper.xml +++ b/basic-server/src/main/resources/mapper/StandardTreeMapper.xml @@ -322,6 +322,7 @@ <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''"> ${ew.customSqlSegment} </if> + order by send_time desc </select> <select id="selectIfsPage" resultType="com.ruoyi.basic.pojo.IfsInventoryQuantity"> @@ -329,6 +330,7 @@ <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''"> ${ew.customSqlSegment} </if> + ORDER BY declare_date DESC </select> <select id="selectIfsInventoryQuantity" resultType="com.ruoyi.basic.dto.IfsInventoryQuantityCheckDto"> SELECT * from ifs_inventory_quantity ifs @@ -347,6 +349,7 @@ <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''"> ${ew.customSqlSegment} </if> + order by send_time desc </select> <select id="getIfsByOverList" resultType="com.ruoyi.basic.dto.IfsInventoryQuantitySupplierDto"> select * from (<include refid="getIfsOrder"/> @@ -386,4 +389,12 @@ </foreach> </if> </select> + + <select id="getStandardTree3" resultType="com.ruoyi.basic.dto.SampleDto"> + select model label, + model value + from standard_tree + where sample_type = #{sampleType} + and sample is null + </select> </mapper> -- Gitblit v1.9.3