From 25cc86fd8a2fb3b2bb6b385cba0adaf89ff3dcdc Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 18 十二月 2025 16:39:32 +0800
Subject: [PATCH] 流程卡进度打印部分代码

---
 north-glass-erp/src/main/resources/mapper/sd/OrderOtherMoneyMapper.xml |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/north-glass-erp/src/main/resources/mapper/sd/OrderOtherMoneyMapper.xml b/north-glass-erp/src/main/resources/mapper/sd/OrderOtherMoneyMapper.xml
index f0e9d8f..6088f1d 100644
--- a/north-glass-erp/src/main/resources/mapper/sd/OrderOtherMoneyMapper.xml
+++ b/north-glass-erp/src/main/resources/mapper/sd/OrderOtherMoneyMapper.xml
@@ -6,17 +6,17 @@
     <select id="findById">
         select
             a.order_id,
-            a.`column`,
+            b.`column`,
             a.quantity,
             a.price,
             a.money,
             a.create_time,
             b.alias,
             b.id
-        from order_other_money as a
-        left join  basic_other_money as b
-        on a.`column` = b.`column`
-        where a.order_id = #{orderId}
+        from basic_other_money as b
+        left join  order_other_money as a
+        on a.`column` = b.`column` and a.order_id = #{orderId}
+        where b.`column` like 'M%' and b.state=1
     </select>
 
     <select id="selectGrossAmount">

--
Gitblit v1.8.0