From 0d91c32f348565109b40c5e1c516bfdd28538bd3 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期二, 02 七月 2024 11:50:17 +0800
Subject: [PATCH] 补充语言,修改成品标签打印

---
 north-glass-erp/src/main/resources/mapper/sd/OrderOtherMoneyMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 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 3941714..f0e9d8f 100644
--- a/north-glass-erp/src/main/resources/mapper/sd/OrderOtherMoneyMapper.xml
+++ b/north-glass-erp/src/main/resources/mapper/sd/OrderOtherMoneyMapper.xml
@@ -20,7 +20,7 @@
     </select>
 
     <select id="selectGrossAmount">
-        select sum(money) from order_other_money where order_id = #{orderId}
+        select ifnull(sum(money),0) from order_other_money where order_id = #{orderId}
 
     </select>
 

--
Gitblit v1.8.0