Merge branch 'dev' into 'test'

模版编制相关实现

See merge request jygk/dsc-base!6
This commit is contained in:
付鹏飞
2025-09-26 09:43:44 +00:00

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));