From db85e062349683b3131726fe90dcc99d4aff35ba Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期二, 06 一月 2026 13:29:00 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/jtwy' into jtwy

---
 src/main/resources/mapper/production/ProductProcessRouteItemMapper.xml |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/main/resources/mapper/production/ProductProcessRouteItemMapper.xml b/src/main/resources/mapper/production/ProductProcessRouteItemMapper.xml
index b552627..d1c013d 100644
--- a/src/main/resources/mapper/production/ProductProcessRouteItemMapper.xml
+++ b/src/main/resources/mapper/production/ProductProcessRouteItemMapper.xml
@@ -13,11 +13,12 @@
     <select id="listItem" resultType="com.ruoyi.production.dto.ProductProcessRouteItemDto">
         select ppri.*,
                pp.name as process_name,
-               slp.specification_model,
-               slp.unit,
-               slp.product_category
+               pm.model,
+               pm.unit,
+               p.product_name
         from product_process_route_item ppri
-                 left join sales_ledger_product slp on ppri.product_model_id = slp.id
+                 left join product_model pm on ppri.product_model_id = pm.id
+                 left join product p on pm.product_id = p.id
                  left join product_process pp on pp.id = ppri.process_id
         where ppri.route_id = #{orderId}
         order by ppri.id

--
Gitblit v1.9.3