From 876d72a43b52fd4de8c37196d4f8dfd92bab4b7e Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期二, 23 十二月 2025 16:37:34 +0800
Subject: [PATCH] feat(production): 添加productId

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

diff --git a/src/main/resources/mapper/production/ProcessRouteItemMapper.xml b/src/main/resources/mapper/production/ProcessRouteItemMapper.xml
index 54a5e04..c62b6e0 100644
--- a/src/main/resources/mapper/production/ProcessRouteItemMapper.xml
+++ b/src/main/resources/mapper/production/ProcessRouteItemMapper.xml
@@ -16,7 +16,9 @@
         select pri.*,
                pr.description ,
                pp.name as process_name,
-               pm.speculative_trading_name
+               pm.speculative_trading_name,
+               pm.product_id,
+               pm.model
         from
             process_route_item pri
                 left join product_model pm on pri.product_model_id = pm.id
@@ -24,7 +26,6 @@
                 left join process_route pr on pr.id = pri.route_id
         where
             pri.route_id = #{c.routeId}
-
-
+        order by pri.id
     </select>
 </mapper>

--
Gitblit v1.9.3