Commit 2334fe33 authored by wangqiang's avatar wangqiang

删除测试代码

parent 3c6d0655
...@@ -50,19 +50,13 @@ public class ExtDxDocumentServiceImpl<V extends DxDocumentVO> extends DocumentSe ...@@ -50,19 +50,13 @@ public class ExtDxDocumentServiceImpl<V extends DxDocumentVO> extends DocumentSe
public void beforeSave(Collection<V> target) { public void beforeSave(Collection<V> target) {
for (V v : target) { for (V v : target) {
documentEvent.createDocListener(v); documentEvent.createDocListener(v);
ObjFileLinkVO linkVO = new ObjFileLinkVO();
linkVO.setTargetId(2L);
linkVO.setOperator(OperatorType.ADD);
v.setObjFileLinks(Arrays.asList(linkVO));
} }
// super.beforeSave(target);
} }
@Override @Override
public void beforeUpdate(Collection<V> target, Collection<V> origin) { public void beforeUpdate(Collection<V> target, Collection<V> origin) {
for (V v : target) { for (V v : target) {
documentEvent.updateDocListener(v); documentEvent.updateDocListener(v);
} }
// super.beforeUpdate(target,origin);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment