提交 14d6ef08 编写于 作者: NoSubject's avatar NoSubject

Merge branch 'cherry-pick-e737d99e' into 'develop'

修复流程data数据中的附件信息在流转后消失的错误.

See merge request o2oa/o2oa!2599
......@@ -74,7 +74,7 @@ public class Data extends ListOrderedMap<String, Object> {
@JsonIgnore
public Data setAttachmentList(List<Attachment> attachmentList) {
List<DataAttachment> list = new ArrayList<>();
if (ListTools.isEmpty(attachmentList)) {
if (!ListTools.isEmpty(attachmentList)) {
DataAttachment.copier.copy(attachmentList, list);
}
this.put(ATTACHMENTLIST_PROPERTY, list);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册