From 06ddb489776d6d3859238ae89724efc9db8d7e9d Mon Sep 17 00:00:00 2001
From: Houjie <714924425@qq.com>
Date: 星期一, 26 五月 2025 17:35:17 +0800
Subject: [PATCH] 工具报损-审批提交(扣减库存/更新台账状态/更新单据审批状态)

---
 lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/service/impl/SysBusinessCodeRuleServiceImpl.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/service/impl/SysBusinessCodeRuleServiceImpl.java b/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/service/impl/SysBusinessCodeRuleServiceImpl.java
index ea9e380..dc885c0 100644
--- a/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/service/impl/SysBusinessCodeRuleServiceImpl.java
+++ b/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/service/impl/SysBusinessCodeRuleServiceImpl.java
@@ -38,7 +38,7 @@
 
     @Override
     @Transactional(rollbackFor = Exception.class)
-    public String generateBusinessCodeSeq(String businessCode) {
+    public synchronized String generateBusinessCodeSeq(String businessCode) {
         //鏌ヨ鐢熸垚瑙勫垯
         LambdaQueryWrapper<SysBusinessCodeRule> queryWrapper = new LambdaQueryWrapper<>();
         queryWrapper.eq(SysBusinessCodeRule::getBusinessCode, businessCode);

--
Gitblit v1.9.3