From f55ed1d2a1bdf4ad80930e879631d6d95d4b6c3c Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期四, 28 八月 2025 18:57:38 +0800
Subject: [PATCH] RCS 库位同步接口调用 RCS任务下发接口功能调用 RCS 取消任务接口功能开发 RCS异常功回调功能开发

---
 rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/CheckDiffItem.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/CheckDiffItem.java b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/CheckDiffItem.java
index f644846..5c16c7d 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/CheckDiffItem.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/CheckDiffItem.java
@@ -218,6 +218,9 @@
     }
 
     public Double getDiffQty() {
+        if (checkQty.compareTo(0.0) <= 0) {
+            return 0.0;
+        }
         Double diffQty = Math.round((this.checkQty - this.anfme) * 1000) / 1000.0;
         return diffQty;
     }

--
Gitblit v1.9.1