Commit 3f7172ba by 宋祥

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

parent c6b64431
......@@ -63,14 +63,14 @@ public class Iplat4jUtils {
* @return
*/
public static Map getDoc02ById(String docId) {
Map dbDm02 = Iplat4jTools.EuDm02.getByDocId(docId);
if (MapUtils.isEmpty(dbDm02)) {
Map document = platFileUploader.getDocument(docId);
if (MapUtils.isEmpty(document)) {
return null;
}
String chgName = dbDm02.get("chgName").toString();
String docPath = dbDm02.get("realPath").toString();
dbDm02.put("url", docPath + "/" + chgName);
return dbDm02;
String chgName = document.get("chgName").toString();
String docPath = document.get("realPath").toString();
document.put("url", docPath + "/" + chgName);
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