fix: 执行测试计划接口用例无结果

--bug=1013490 --user=陈建星 【测试跟踪】github#13923 测试跟踪-测试计划-报告失败用例右侧信息显示空白 https://www.tapd.cn/55049933/s/1164558
This commit is contained in:
chenjianxing 2022-05-26 11:48:54 +08:00 committed by jianxing
parent 7b08b6cc7b
commit a37a54ff63
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ public class ApiDefinitionExecResultUtil {
apiResult.setUserId(request.getUserId());
}
apiResult.setResourceId(key.getApiCaseId());
apiResult.setResourceId(key.getId());
apiResult.setStartTime(System.currentTimeMillis());
apiResult.setType(ApiRunMode.API_PLAN.name());
apiResult.setStatus(status);