| | |
| | | //打包版 |
| | | fileDirName = jarFile.toString(); |
| | | } |
| | | String root=fileDirName+"/stationsrc/alarm/"+ param.getStationId() + "/" + param.getAfterOrBefore() + "/"; |
| | | String root=fileDirName+"/fg_photo/stationsrc/alarm/"+ param.getStationId() + "/" + param.getAfterOrBefore() + "/"; |
| | | List<String> filePathList = new ArrayList<>(); |
| | | SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss"); |
| | | boolean isSuccess = false; |
| | |
| | | //打包版 |
| | | fileDirName = jarFile.toString(); |
| | | } |
| | | String root = fileDirName + "/stationsrc/alarm/" + stationId + File.separator + afterOrBefore + File.separator; |
| | | String root = fileDirName + "/fg_photo/stationsrc/alarm/" + stationId + File.separator + afterOrBefore + File.separator; |
| | | for (String name : names) { |
| | | String targetFilePath = root + name; |
| | | File file = new File(targetFilePath); |