提交 5bb8bb6c 编写于 作者: O o2sword

待发布文档定时处理

上级 56a16993
......@@ -63,7 +63,8 @@ public class PublishWaitDocumentTask extends AbstractJob {
documentDataHelper.update(data);
emc.commit();
if(documentNotify!=null){
ThisApplication.queueSendDocumentNotify.send(document.getProperties().getDocumentNotify());
documentNotify.setDocumentId(id);
ThisApplication.queueSendDocumentNotify.send(documentNotify);
}
LOGGER.info("完成发布文档:{}",document.getTitle());
}catch (Exception e){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册