|
@@ -1009,6 +1009,10 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
CreateObjUtil.build3dModel(target , "1");
|
|
|
|
|
|
//读取upload文件,检验需要上传的文件是否存在
|
|
|
+ String uploadJsonPath = target + File.separator + "results" +File.separator+"upload.json";
|
|
|
+ if(!ComputerUtil.checkComputeCompleted(uploadJsonPath, maxCheckTimes, waitTime)){
|
|
|
+ throw new Exception("upload.json数据出错");
|
|
|
+ }
|
|
|
String uploadData = FileUtils.readFile(target + File.separator + "results" +File.separator+"upload.json");
|
|
|
JSONObject uploadJson = null;
|
|
|
JSONArray array = null;
|