From 3b81f70c87aed26b5d64a790bb75bd4d893f8b54 Mon Sep 17 00:00:00 2001 From: Jianguo-Genius Date: Wed, 22 May 2024 10:40:19 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):?= =?UTF-8?q?=20=E4=BC=98=E5=8C=96=E4=B8=B2=E8=A1=8C=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E8=AE=A1=E5=88=92=E9=98=9F=E5=88=97=E7=9A=84=E5=82=A8=E5=AD=98?= =?UTF-8?q?=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../base/mapper/ext/ExtTestPlanExecutionQueueProvider.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanExecutionQueueProvider.java b/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanExecutionQueueProvider.java index 1951f65a6f..ecaa1add2e 100644 --- a/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanExecutionQueueProvider.java +++ b/test-track/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestPlanExecutionQueueProvider.java @@ -7,7 +7,7 @@ import java.util.List; public class ExtTestPlanExecutionQueueProvider { public String insertListSql(List list) { StringBuffer sqlList = new StringBuffer(); - sqlList.append("insert into test_plan_execution_queue (id,report_id, run_mode, create_time, test_plan_id, resource_id, num, execute_user) values "); + sqlList.append("insert into test_plan_execution_queue (id,report_id, run_mode, create_time, test_plan_id, resource_id, execute_user, num) values "); for (int i = 0; i < list.size(); i++) { TestPlanExecutionQueue result = list.get(i); sqlList.append(" (") @@ -23,10 +23,10 @@ public class ExtTestPlanExecutionQueueProvider { .append(result.getTestPlanId()) .append("','") .append(result.getResourceId()) + .append("','") + .append(result.getExecuteUser()) .append("',") .append(result.getNum()) - .append("',") - .append(result.getExecuteUser()) .append(")"); if (i < list.size() - 1) { sqlList.append(",");