From 79a570ae5f497e30337e7dd002450072e1b21cc2 Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期五, 16 一月 2026 16:19:47 +0800
Subject: [PATCH] fix: 处理空值计算,确保待来票金额与未来票金额一致
---
src/main/resources/mapper/production/SalesLedgerSchedulingMapper.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/production/SalesLedgerSchedulingMapper.xml b/src/main/resources/mapper/production/SalesLedgerSchedulingMapper.xml
index d0e020a..ebfd98b 100644
--- a/src/main/resources/mapper/production/SalesLedgerSchedulingMapper.xml
+++ b/src/main/resources/mapper/production/SalesLedgerSchedulingMapper.xml
@@ -45,7 +45,7 @@
</select>
<select id="list" resultType="com.ruoyi.production.dto.SalesLedgerSchedulingDto">
SELECT
- T2.id,
+ T2.id as salesLedgerProductId,
ifNull(sum(t3.scheduling_num),0) AS schedulingNum,
T1.sales_contract_no,
T1.customer_contract_no,
--
Gitblit v1.9.3