From 28c639dd7b6db86dc3ad68903a1471d74d4a03e9 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期日, 13 九月 2026 13:43:39 +0800
Subject: [PATCH] fix: 更新技术BOM结构以支持规格变化时保留下级BOM

---
 src/main/java/com/ruoyi/account/service/impl/sales/AccountSalesCollectionServiceImpl.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/ruoyi/account/service/impl/sales/AccountSalesCollectionServiceImpl.java b/src/main/java/com/ruoyi/account/service/impl/sales/AccountSalesCollectionServiceImpl.java
index 6b905c9..20374ae 100644
--- a/src/main/java/com/ruoyi/account/service/impl/sales/AccountSalesCollectionServiceImpl.java
+++ b/src/main/java/com/ruoyi/account/service/impl/sales/AccountSalesCollectionServiceImpl.java
@@ -102,7 +102,7 @@
         if (dto.getPaymentDate() == null) {
             throw new ServiceException("璇烽�夋嫨鍥炴鏃ユ湡");
         }
-        if (dto.getPaymentAmount() == null || dto.getPaymentAmount().compareTo(BigDecimal.valueOf(0.01)) < 0) {
+        if (dto.getPaymentAmount() == null || dto.getPaymentAmount().compareTo(new BigDecimal("0.000001")) < 0) {
             throw new ServiceException("璇疯緭鍏ュ洖娆鹃噾棰�");
         }
         if (StringUtils.isEmpty(dto.getSalesContractNo())) {

--
Gitblit v1.9.3