version1
admin 2 years ago
parent ffac290719
commit c15315a926

@ -362,7 +362,7 @@ public class IdcServiceImpl implements IdcService {
/*******/
JSONObject json = JSONObject.parseObject(content);
String filePathSlash = filePath.substring(filePath.length() -1).equals("/") ? "" : "/";
String backFileSlash = backFilePath.substring(filePath.length() -1).equals("/") ? "" : "/";
String backFileSlash = backFilePath.substring(backFilePath.length() -1).equals("/") ? "" : "/";
String datePath = DateUtil.formatDate(new Date(),"yyyy-MM-dd");
String fileName =filePath +filePathSlash +datePath+"/"+json.getString("messageType")+"-"+json.getString("messageId")+".udi";
String backFileName = backFilePath +backFileSlash +datePath+"/"+json.getString("messageType")+"-"+json.getString("messageId")+".udi";

Loading…
Cancel
Save