Commit 3f7172ba by 宋祥

1.修改本地文件下载失败问题

parent c6b64431
...@@ -63,14 +63,14 @@ public class Iplat4jUtils { ...@@ -63,14 +63,14 @@ public class Iplat4jUtils {
* @return * @return
*/ */
public static Map getDoc02ById(String docId) { public static Map getDoc02ById(String docId) {
Map dbDm02 = Iplat4jTools.EuDm02.getByDocId(docId); Map document = platFileUploader.getDocument(docId);
if (MapUtils.isEmpty(dbDm02)) { if (MapUtils.isEmpty(document)) {
return null; return null;
} }
String chgName = dbDm02.get("chgName").toString(); String chgName = document.get("chgName").toString();
String docPath = dbDm02.get("realPath").toString(); String docPath = document.get("realPath").toString();
dbDm02.put("url", docPath + "/" + chgName); document.put("url", docPath + "/" + chgName);
return dbDm02; return document;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment