From d583272ee68f3f80e11fddf17769eea773ff9053 Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期三, 09 四月 2025 17:41:03 +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