From e748d7c052c9b06f2a2ffe5dbc1cb21babfdbdb4 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期五, 05 七月 2024 10:09:07 +0800
Subject: [PATCH] 添加右键菜单相关语言,对应界面添加客户名称字段,配置标签打印按钮和打印类型下拉框

---
 north-glass-erp/src/main/resources/mapper/sd/OrderOtherMoneyMapper.xml |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 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 57fe496..de97670 100644
--- a/north-glass-erp/src/main/resources/mapper/sd/OrderOtherMoneyMapper.xml
+++ b/north-glass-erp/src/main/resources/mapper/sd/OrderOtherMoneyMapper.xml
@@ -13,10 +13,15 @@
             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">
+        select ifnull(sum(money),0) from order_other_money where order_id = #{orderId}
+
     </select>
 
 

--
Gitblit v1.8.0