From 6657d65777a1be6b97b745fe0c2be55a8b3ec11e Mon Sep 17 00:00:00 2001
From: maven <2163098428@qq.com>
Date: 星期六, 17 一月 2026 13:51:11 +0800
Subject: [PATCH] yys 财务报表,会计报表对接,设备增加字段
---
src/main/resources/mapper/production/ProcessRouteItemMapper.xml | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/mapper/production/ProcessRouteItemMapper.xml b/src/main/resources/mapper/production/ProcessRouteItemMapper.xml
index 54a5e04..1b5e2b4 100644
--- a/src/main/resources/mapper/production/ProcessRouteItemMapper.xml
+++ b/src/main/resources/mapper/production/ProcessRouteItemMapper.xml
@@ -10,21 +10,26 @@
<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">
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.drag_sort
</select>
</mapper>
--
Gitblit v1.9.3