From 78f5c72168a4b99b06cec230f23634032f06d588 Mon Sep 17 00:00:00 2001 From: psh Date: Mon, 15 Jul 2024 09:26:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A9=BA=E6=9E=B6=E5=85=A5=E5=BA=93=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E5=8A=A0=E4=BB=A3=E7=A0=81=E5=9D=97=E9=94=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/nl/wms/sch/task_manage/task/tasks/KGHJRKTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/KGHJRKTask.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/KGHJRKTask.java index 0b8dc2d..6f7fd02 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/KGHJRKTask.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/KGHJRKTask.java @@ -68,7 +68,7 @@ public class KGHJRKTask extends AbstractTask { @Override // @Transactional(rollbackFor = Exception.class) - protected void create() throws BadRequestException { + protected synchronized void create() throws BadRequestException { // 获取任务 List tasks = taskService.findTasksByTaskStatus(TASK_CONFIG_CODE, TaskStatus.APPLY);