From 24b0b06a6e13f74db86e2c643097b37cada07d58 Mon Sep 17 00:00:00 2001
From: Administrator <56479841@QQ.COM>
Date: 星期六, 10 六月 2023 17:24:56 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/service/impl/WorkServiceImpl.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/asrs/service/impl/WorkServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/WorkServiceImpl.java
index 5aafe19..fbd7760 100644
--- a/src/main/java/com/zy/asrs/service/impl/WorkServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/WorkServiceImpl.java
@@ -177,6 +177,9 @@
                     }
                     double lastCount = locDetl.getCount() - useCount;//鍓╀綑鎵�闇�鏁伴噺
                     double realCount = 0;//瀹為檯鎻愪緵鏁伴噺
+                    if (lastCount==0){
+                        continue;
+                    }
                     if (locDetl0.getAnfme() >= lastCount) {//瀹為檯鏁伴噺澶т簬鎵�闇�鏁伴噺锛屾寜鎵�闇�鏁伴噺鎻愪緵
                         realCount = lastCount;
                     } else {

--
Gitblit v1.9.1