|
@@ -190,7 +190,7 @@ public class ApplicationConverter { |
|
|
JSONObject fJson = (JSONObject) JSON.toJSON(f); |
|
|
JSONObject fJson = (JSONObject) JSON.toJSON(f); |
|
|
Long fileId = fJson.getLong("id"); |
|
|
Long fileId = fJson.getLong("id"); |
|
|
String fileName = fJson.getString("originalFileName"); |
|
|
String fileName = fJson.getString("originalFileName"); |
|
|
Map<Long, String> fileMap = fileService.findUrlById(Arrays.asList(fileId)); |
|
|
|
|
|
|
|
|
Map<Long, String> fileMap = fileService.findUrlById(Lists.newArrayList(fileId)); |
|
|
String url = fileMap.get(fileId); |
|
|
String url = fileMap.get(fileId); |
|
|
url = removeExpire(url); |
|
|
url = removeExpire(url); |
|
|
FileDTO file = new FileDTO(); |
|
|
FileDTO file = new FileDTO(); |
|
|