From e0dac06def1d44fe28f9ca967725c01e4363b56c Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期三, 02 九月 2026 19:29:42 +0800
Subject: [PATCH] fix(stock): 修复质检合格入库及最后工序入库逻辑

---
 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