|
@@ -249,9 +249,16 @@ public class CaseDownService {
|
|
for (Object object : jsonArray) {
|
|
for (Object object : jsonArray) {
|
|
JSONObject sceneInfoObj = (JSONObject) object;
|
|
JSONObject sceneInfoObj = (JSONObject) object;
|
|
String newPath = String.format(FilePath.OFFLINE_LASER_OSS_PATH, sceneData.getNum(), sceneData.getNum());
|
|
String newPath = String.format(FilePath.OFFLINE_LASER_OSS_PATH, sceneData.getNum(), sceneData.getNum());
|
|
|
|
+ String mapping = sceneInfoObj.getString("mapping");
|
|
String oldPath = sceneInfoObj.getString("webBin");
|
|
String oldPath = sceneInfoObj.getString("webBin");
|
|
|
|
+ String webBin = null;
|
|
|
|
+ if(StringUtils.isNotBlank(mapping)){
|
|
|
|
+ webBin =newPath + mapping+ File.separator+ oldPath;
|
|
|
|
+ }else {
|
|
|
|
+ webBin = newPath+ oldPath;
|
|
|
|
+ }
|
|
sceneInfoObj.put("oldWebBin",oldPath);
|
|
sceneInfoObj.put("oldWebBin",oldPath);
|
|
- sceneInfoObj.put("webBin",newPath + oldPath);
|
|
|
|
|
|
+ sceneInfoObj.put("webBin",webBin);
|
|
newJsonArray.add(sceneInfoObj);
|
|
newJsonArray.add(sceneInfoObj);
|
|
dataSetIds.add( sceneInfoObj.getString("id"));
|
|
dataSetIds.add( sceneInfoObj.getString("id"));
|
|
}
|
|
}
|