fix(测试跟踪): 集成Zentao同步缺陷附件报错问题
--bug=1023370 --user=宋昌昌 【测试跟踪】缺陷管理-集成Zentao-同步缺陷-后端报错 https://www.tapd.cn/55049933/s/1338597
This commit is contained in:
parent
1b1c1c89a2
commit
7bbd9aa460
|
@ -1018,6 +1018,9 @@ public class IssuesService {
|
||||||
.collect(Collectors.toSet());
|
.collect(Collectors.toSet());
|
||||||
|
|
||||||
List<PlatformAttachment> syncAttachments = attachmentMap.get(issueId);
|
List<PlatformAttachment> syncAttachments = attachmentMap.get(issueId);
|
||||||
|
if (CollectionUtils.isEmpty(syncAttachments)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
for (PlatformAttachment syncAttachment : syncAttachments) {
|
for (PlatformAttachment syncAttachment : syncAttachments) {
|
||||||
String fileName = syncAttachment.getFileName();
|
String fileName = syncAttachment.getFileName();
|
||||||
String fileKey = syncAttachment.getFileKey();
|
String fileKey = syncAttachment.getFileKey();
|
||||||
|
|
Loading…
Reference in New Issue