From d7499ee1f8afe2769b5e0d855c632b028531f369 Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期日, 04 一月 2026 17:45:14 +0800
Subject: [PATCH] feat(production): 修改

---
 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