|
|
|
@ -1348,7 +1348,7 @@ public class IcEventServiceImpl extends BaseServiceImpl<IcEventDao, IcEventEntit |
|
|
|
attachment.setIcEventId(id); |
|
|
|
attachment.setCreatedBy(userId); |
|
|
|
attachment.setAttachmentFormat(a.getFormat()); |
|
|
|
attachment.setAttachmentType(a.getType()); |
|
|
|
attachment.setAttachmentType(StringUtils.isNotBlank(a.getType()) ? a.getType() : ""); |
|
|
|
attachment.setAttachmentUrl(a.getUrl()); |
|
|
|
attachment.setStatus(TopicConstant.AUTO_PASSED); |
|
|
|
attachment.setSort(sort++); |
|
|
|
|