From 7603004d9eed2904a823861e7cd6f5c2f0016500 Mon Sep 17 00:00:00 2001
From: Junjie <xjj@123>
Date: 星期一, 04 三月 2024 16:19:03 +0800
Subject: [PATCH] #条码显示

---
 src/main/java/com/zy/common/service/CommonService.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/common/service/CommonService.java b/src/main/java/com/zy/common/service/CommonService.java
index 4fec9b9..28fb4f1 100644
--- a/src/main/java/com/zy/common/service/CommonService.java
+++ b/src/main/java/com/zy/common/service/CommonService.java
@@ -56,7 +56,7 @@
      * 鐢熸垚宸ヤ綔鍙�
      * @return workNo(宸ヤ綔鍙�)
      */
-    public int getWorkNo(Integer wrkMk) {
+    public synchronized int getWorkNo(Integer wrkMk) {
         WrkLastno wrkLastno = wrkLastnoService.selectById(wrkMk);
         if (Cools.isEmpty(wrkLastno)) {
             throw new CoolException("鏁版嵁寮傚父锛岃鑱旂郴绠$悊鍛�");

--
Gitblit v1.9.1