模版编制相关实现

This commit is contained in:
潘荣晟
2025-09-26 17:41:55 +08:00
parent fa7c08a493
commit dca1830c1b

View File

@@ -164,7 +164,7 @@ public class OnlyOfficeCallbackServiceImpl implements OnlyOfficeCallbackService
// 创建文件成功,处理结果
FileRespDTO fileRespDTO = result.getData();
Map<String, Object> fileInfo = new HashMap<>();
fileInfo.put("id", fileRespDTO.getId());
fileInfo.put("id",String.valueOf(fileRespDTO.getId()));
fileInfo.put("name", fileRespDTO.getName());
fileInfo.put("directory", fileRespDTO.getDirectory());
templateInstanceService.updateTemplateInstanceFileUrlByInstanceId(id, JSONObject.toJSONString(fileInfo));