fix(测试计划): #1007972 【测试跟踪】测试计划列表执行,任务中心没显示计划里的用例

--bug=1007972 --user=宋天阳 【测试跟踪】测试计划列表执行,任务中心没显示计划里的用例
https://www.tapd.cn/55049933/s/1068386
This commit is contained in:
song-tianyang 2021-11-16 16:39:40 +08:00 committed by song-tianyang
parent 8fc1ceea92
commit b7650a129f
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ public class ApiDefinitionExecResultService {
if (id.indexOf(DelimiterConstants.SEPARATOR.toString()) != -1) { if (id.indexOf(DelimiterConstants.SEPARATOR.toString()) != -1) {
return id.substring(0, id.indexOf(DelimiterConstants.SEPARATOR.toString())); return id.substring(0, id.indexOf(DelimiterConstants.SEPARATOR.toString()));
} }
if (StringUtils.equalsAnyIgnoreCase(type, ApiRunMode.API_PLAN.name(), ApiRunMode.SCHEDULE_API_PLAN.name(), ApiRunMode.JENKINS_API_PLAN.name())) { if (StringUtils.equalsAnyIgnoreCase(type, ApiRunMode.API_PLAN.name(), ApiRunMode.SCHEDULE_API_PLAN.name(), ApiRunMode.JENKINS_API_PLAN.name(), ApiRunMode.MANUAL_PLAN.name())) {
TestPlanApiCase testPlanApiCase = testPlanApiCaseService.getById(id); TestPlanApiCase testPlanApiCase = testPlanApiCaseService.getById(id);
ApiTestCaseWithBLOBs caseWithBLOBs = null; ApiTestCaseWithBLOBs caseWithBLOBs = null;
if (testPlanApiCase != null) { if (testPlanApiCase != null) {