fix(测试跟踪): azure创建缺陷报错

--bug=1018925 --user=陈建星 【测试跟踪】测试用例/测试计划-脑图-azure平台,创建缺陷报错了 https://www.tapd.cn/55049933/s/1278912
This commit is contained in:
chenjianxing 2022-10-26 18:35:07 +08:00 committed by jianxing
parent 075bc4a099
commit 19b0b64883
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ public class TestCaseIssueService {
testCaseIssues.setIssuesId(issuesId);
testCaseIssues.setResourceId(resourceId);
testCaseIssues.setRefType(refType);
testCaseIssues.setRefId(refId);
testCaseIssues.setRefId(StringUtils.isNotBlank(refId) ? null : refId);
testCaseIssuesMapper.insert(testCaseIssues);
}
}