Merge pull request '获取测试用例管理详细信息 错误修复' (#898) from zengweizhang/microservices:master into dev_testCase_export

This commit is contained in:
wanjia9506 2025-05-29 17:21:49 +08:00
commit 03abc0cf28
1 changed files with 3 additions and 1 deletions

View File

@ -96,7 +96,9 @@ public class PmsProjectTestcaseServiceImpl implements IPmsProjectTestcaseService
if (pmsProjectTestcase == null) {
throw new ServiceException("该测试用例不存在(测试用例ID[%s])", id);
}
if(pmsProjectTestcase.getIsImport() == null){
pmsProjectService.selectPmsProjectById(pmsProjectTestcase.getPmsProjectId());
}
return pmsProjectTestcase;
}