mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 12:56:28 +08:00
5.0
This commit is contained in:
@@ -54,6 +54,13 @@ public class DocInfoSyncService {
|
||||
this.syncDocInfo(docApp, docInfoId, user);
|
||||
}
|
||||
|
||||
/**
|
||||
* 同步远程文档
|
||||
*
|
||||
* @param docApp 应用
|
||||
* @param docInfoId 同步某个文档,如果为null则同步整个应用文档
|
||||
* @param user 登录用户
|
||||
*/
|
||||
public void syncDocInfo(DocApp docApp, Long docInfoId, User user) {
|
||||
Long docAppId = docApp.getId();
|
||||
Map<String, DocInfo> nameVersionMap = docInfoService.list(DocInfo::getDocAppId, docAppId)
|
||||
|
Reference in New Issue
Block a user