From 3b71cac369fb246ceafa59ffa3b775c2afc8add4 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期三, 07 一月 2026 09:25:31 +0800
Subject: [PATCH] 1.报工
---
src/main/resources/mapper/production/ProcessRouteItemMapper.xml | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/mapper/production/ProcessRouteItemMapper.xml b/src/main/resources/mapper/production/ProcessRouteItemMapper.xml
index 54a5e04..3814aeb 100644
--- a/src/main/resources/mapper/production/ProcessRouteItemMapper.xml
+++ b/src/main/resources/mapper/production/ProcessRouteItemMapper.xml
@@ -16,15 +16,19 @@
select pri.*,
pr.description ,
pp.name as process_name,
- pm.speculative_trading_name
+ pm.speculative_trading_name,
+ pm.product_id,
+ pm.model,
+ p.product_name,
+ pm.unit
from
process_route_item pri
left join product_model pm on pri.product_model_id = pm.id
left join product_process pp on pp.id = pri.process_id
+ left join product p on p.id = pm.product_id
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