From bb48edb3d9faaaeab0088151c86fc24137acdb08 Mon Sep 17 00:00:00 2001
From: hjg <hjg@123.com>
Date: 星期六, 18 十一月 2023 11:42:44 +0800
Subject: [PATCH] 科技装车

---
 JavaSource/com/mandi/webservice/service/impl/InvoiceService.java |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/JavaSource/com/mandi/webservice/service/impl/InvoiceService.java b/JavaSource/com/mandi/webservice/service/impl/InvoiceService.java
index d3bede5..f55d198 100644
--- a/JavaSource/com/mandi/webservice/service/impl/InvoiceService.java
+++ b/JavaSource/com/mandi/webservice/service/impl/InvoiceService.java
@@ -398,7 +398,7 @@
 						FdXSTDService.refreshMsLedLock = false;
 					}
 				}
-			}else if ("08".equals(sdepartNo)) { // 涔夌憺
+			} else if ("08".equals(sdepartNo)) { // 涔夌憺
 				synchronized (FdXSTDService.refreshYrLedLock) {
 					if (FdXSTDService.refreshYrLedLock) { // 绯荤粺绻佸繖
 						return null;
@@ -415,6 +415,22 @@
 					}
 				}
 			}
+		} else if ("04".equals(sdepartNo)) { // 绉戞妧
+			synchronized (FdXSTDService.refreshYrLedLock) {
+				if (FdXSTDService.refreshKjLedLock) { // 绯荤粺绻佸繖
+					return null;
+				}
+			}
+			try {
+				synchronized (FdXSTDService.refreshKjLedLock) {
+					FdXSTDService.refreshKjLedLock = true;
+				}
+				fdser.sendToKjLed(null);
+			} finally {
+				synchronized (FdXSTDService.refreshKjLedLock) {
+					FdXSTDService.refreshKjLedLock = false;
+				}
+			}
 		}
 		return null;
 	}

--
Gitblit v1.9.3