|
@@ -134,12 +134,8 @@ public class BuildObjServiceImpl implements IBuildSceneService {
|
|
|
|
|
|
}catch (Exception e){
|
|
}catch (Exception e){
|
|
log.error("生成OBJ场景资源准备异常,num=" + num, e);
|
|
log.error("生成OBJ场景资源准备异常,num=" + num, e);
|
|
|
|
+ buildSceneDTService.handBaseFail("生成OBJ场景资源准备异常", message.getPath(), message.getSceneNum(), "计算控制服务器");
|
|
throw e;
|
|
throw e;
|
|
- }finally {
|
|
|
|
- //如果前置处理失败,发送钉钉消息
|
|
|
|
- if(!success){
|
|
|
|
- buildSceneDTService.handBaseFail("生成OBJ场景资源准备异常", message.getPath(), message.getSceneNum(), "计算控制服务器");
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -264,11 +260,9 @@ public class BuildObjServiceImpl implements IBuildSceneService {
|
|
|
|
|
|
}catch (Exception e){
|
|
}catch (Exception e){
|
|
log.error("生成OBJ场景计算结果处理异常,num=" + projectNum, e);
|
|
log.error("生成OBJ场景计算结果处理异常,num=" + projectNum, e);
|
|
|
|
+ buildSceneDTService.handBaseFail("生成OBJ场景计算结果处理异常", message.getPath(), projectNum, "计算控制服务器");
|
|
throw e;
|
|
throw e;
|
|
}finally {
|
|
}finally {
|
|
- if(!success){
|
|
|
|
- buildSceneDTService.handBaseFail("生成OBJ场景计算结果处理异常", message.getPath(), projectNum, "计算控制服务器");
|
|
|
|
- }
|
|
|
|
fdkkLaserService.pushBuildStatusToLaserSystem(projectNum, laserObjFilePath + "/laserData/mesh", success ? CommonOperStatus.SUCCESS.code() : CommonOperStatus.FAILD.code());
|
|
fdkkLaserService.pushBuildStatusToLaserSystem(projectNum, laserObjFilePath + "/laserData/mesh", success ? CommonOperStatus.SUCCESS.code() : CommonOperStatus.FAILD.code());
|
|
}
|
|
}
|
|
}
|
|
}
|