fix(测试计划): 测试计划单用例执行没有更新执行人

This commit is contained in:
AgAngle 2024-06-17 11:41:25 +08:00 committed by Craftsman
parent 67f1d63f8a
commit 298e2ca506
2 changed files with 2 additions and 0 deletions

View File

@ -651,6 +651,7 @@ public class TestPlanApiCaseService extends TestPlanResourceService {
taskInfo.setRunModeConfig(runModeConfig);
taskInfo.setSaveResult(true);
taskInfo.setRealTime(true);
taskInfo.setUserId(userId);
if (StringUtils.isEmpty(taskItem.getReportId())) {
taskInfo.setRealTime(false);

View File

@ -302,6 +302,7 @@ public class TestPlanApiScenarioService extends TestPlanResourceService {
taskInfo.setRunModeConfig(runModeConfig);
taskInfo.setSaveResult(true);
taskInfo.setRealTime(true);
taskInfo.setUserId(userId);
if (StringUtils.isEmpty(taskItem.getReportId())) {
taskInfo.setRealTime(false);