Commit 7988a858 authored by wangyangyang's avatar wangyangyang

调整

parent 5caa6483
package com.yonde.dcs.core.event;
/**
* @author wyy
* @date 2024-8-13 10:17
* @describe
*/
public class DocumentEvent {
}
...@@ -2,6 +2,8 @@ package com.yonde.dcs.core.service.impl.expand; ...@@ -2,6 +2,8 @@ package com.yonde.dcs.core.service.impl.expand;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import java.util.Collection;
import java.util.List; import java.util.List;
import com.yonde.dcs.document.common.entity.vo.DxDocumentVO; import com.yonde.dcs.document.common.entity.vo.DxDocumentVO;
import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.beans.factory.annotation.Qualifier;
...@@ -30,6 +32,16 @@ public class ExtDxDocumentServiceImpl<V extends DxDocumentVO> extends DocumentSe ...@@ -30,6 +32,16 @@ public class ExtDxDocumentServiceImpl<V extends DxDocumentVO> extends DocumentSe
@Autowired @Autowired
DocumentRepository<DxDocument> documentRepository; DocumentRepository<DxDocument> documentRepository;
@Override
public void beforeSave(Collection<V> target) {
//循环处理每一个文档
for (V v : target) {
}
super.beforeSave(target);
} }
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