From 3440ecd09d9dfc884fe111a2cdd4daff7aae50ef Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期五, 18 九月 2026 15:21:09 +0800
Subject: [PATCH] feat: 检验模块新增纸质单据导出模板(原材料/出厂/过程检验),过程检验新增技术参数等字段并改造判定提交逻辑
---
src/main/java/com/ruoyi/account/service/impl/AccountingServiceImpl.java | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/ruoyi/account/service/impl/AccountingServiceImpl.java b/src/main/java/com/ruoyi/account/service/impl/AccountingServiceImpl.java
index f42599a..66dfe99 100644
--- a/src/main/java/com/ruoyi/account/service/impl/AccountingServiceImpl.java
+++ b/src/main/java/com/ruoyi/account/service/impl/AccountingServiceImpl.java
@@ -421,6 +421,9 @@
Map<String, BigDecimal> monthPayableMap = new HashMap<>();
// 鏈堝害搴旀敹锛堥攢鍞嚭搴�-閫�璐э級
salesOutboundVos.forEach(item -> {
+ if (item.getShippingDate() == null) {
+ return;
+ }
String month = item.getShippingDate().format(monthFormatter);
monthReceivableMap.put(month, monthReceivableMap.getOrDefault(month, BigDecimal.ZERO)
.add(Optional.ofNullable(item.getOutboundAmount()).orElse(BigDecimal.ZERO)));
--
Gitblit v1.9.3