diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/converter/ApplicationConverter.java b/pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/converter/ApplicationConverter.java index c76c37c..aeca03d 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/converter/ApplicationConverter.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/converter/ApplicationConverter.java @@ -190,7 +190,7 @@ public class ApplicationConverter { JSONObject fJson = (JSONObject) JSON.toJSON(f); Long fileId = fJson.getLong("id"); String fileName = fJson.getString("originalFileName"); - Map fileMap = fileService.findUrlById(Arrays.asList(fileId)); + Map fileMap = fileService.findUrlById(Lists.newArrayList(fileId)); String url = fileMap.get(fileId); url = removeExpire(url); FileDTO file = new FileDTO();