From 1769107c38d40f7d209a48ab7752fe27a81b9709 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期二, 14 四月 2026 17:48:18 +0800
Subject: [PATCH] fix:1.出库台账(删除出库记录查询结果有误)增加批号和供应商 2.出入库不合格管理加批号和供应商 3.发货以及发货记录(部分发货)

---
 src/main/resources/mapper/production/ProcessRouteItemMapper.xml |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/production/ProcessRouteItemMapper.xml b/src/main/resources/mapper/production/ProcessRouteItemMapper.xml
index 3814aeb..748099c 100644
--- a/src/main/resources/mapper/production/ProcessRouteItemMapper.xml
+++ b/src/main/resources/mapper/production/ProcessRouteItemMapper.xml
@@ -10,6 +10,7 @@
         <result property="tenantId" column="tenant_id"/>
         <result property="createTime" column="create_time"/>
         <result property="updateTime" column="update_time"/>
+        <result property="dragSort" column="drag_sort"/>
     </resultMap>
 
     <select id="listProcessRouteItemDto" resultType="com.ruoyi.production.dto.ProcessRouteItemDto">
@@ -20,7 +21,8 @@
                pm.product_id,
                pm.model,
                p.product_name,
-               pm.unit
+               pm.unit,
+               pm.uid_no
         from
             process_route_item pri
                 left join product_model pm on pri.product_model_id = pm.id
@@ -29,6 +31,6 @@
                 left join process_route pr on pr.id = pri.route_id
         where
             pri.route_id = #{c.routeId}
-        order by pri.id
+        order by pri.drag_sort
     </select>
 </mapper>

--
Gitblit v1.9.3