From 23d0d2bd37cc8789b35f60f2c6d6e0727c284c7b Mon Sep 17 00:00:00 2001 From: shicf <shi_chongfu@163.com> Date: 星期四, 24 四月 2025 11:01:52 +0800 Subject: [PATCH] 移动端app自动升级,安装包下载 ,版本检测 --- src/main/java/com/product/file/controller/WebOfficeController.java | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/product/file/controller/WebOfficeController.java b/src/main/java/com/product/file/controller/WebOfficeController.java index 1ad734e..7478895 100644 --- a/src/main/java/com/product/file/controller/WebOfficeController.java +++ b/src/main/java/com/product/file/controller/WebOfficeController.java @@ -176,11 +176,15 @@ } //鏂囦欢鍚嶏紙绐楀彛鐨勫悕瀛楋級 String file_title = fse.getString("fileName"); - if (file_title == null) { - file_title = ""; - } else { - file_title = UnicodeUtil.toString(file_title); + FieldSetEntity fieldSetEntity = fileManagerService.getBaseDao().getFieldSetEntity("product_sys_attachments", fse.getString("uuid"), false); + if (!FieldSetEntity.isEmpty(fieldSetEntity)) { + file_title = fieldSetEntity.getString("file_name"); } +// if (file_title == null) { +// file_title = ""; +// } else { +// file_title = UnicodeUtil.toString(file_title); +// } SystemUser currentUser = SpringMVCContextHolder.getCurrentUser(); // Boolean allowNestRed = false; -- Gitblit v1.9.2