|
@@ -326,6 +326,10 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
|
FileUtils.writeFile(localDataPath + "status.json", statusJson.toString());
|
|
|
fYunFileService.uploadFile(localDataPath + "status.json", dataViewPath + "status.json");
|
|
|
}
|
|
|
+
|
|
|
+ BuildSceneCallMessage mqMessage = getBuildSceneMqMessage(sceneNum, cameraType, algorithm, jsonObject.getInteger("resolution"), buildType,
|
|
|
+ scenePlusVO.getDataSource());
|
|
|
+
|
|
|
if (cameraDetail.getCompanyId() != null) {
|
|
|
Company company = companyService.getById(cameraDetail.getCompanyId());
|
|
|
if (company != null) {
|
|
@@ -347,12 +351,13 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
|
false, ConstantFilePath.SCENE_PATH + "images/images" + sceneNum + "/QRShareLogo.png");
|
|
|
}
|
|
|
sceneEditInfoService.updateById(sceneEditInfo);
|
|
|
+ if (!ObjectUtils.isEmpty(company.getCalculateFlexibility()) && !company.getCalculateFlexibility()) {
|
|
|
+ mqMessage.setFlexibility(-1);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
- BuildSceneCallMessage mqMessage = getBuildSceneMqMessage(sceneNum, cameraType, algorithm, jsonObject.getInteger("resolution"), buildType,
|
|
|
- scenePlusVO.getDataSource());
|
|
|
rabbitMqProducer.sendByWorkQueue(queueModelingPre, mqMessage);
|
|
|
|
|
|
return scenePlusVO;
|
|
@@ -431,6 +436,8 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
|
FileUtils.writeFile(localDataPath + "status.json", statusJson.toString());
|
|
|
fYunFileService.uploadFile(localDataPath + "status.json", dataViewPath + "status.json");
|
|
|
}
|
|
|
+ BuildSceneCallMessage mqMessage = getBuildSceneMqMessage(sceneNum, cameraType, algorithm, jsonObject.getInteger("resolution"), buildType,
|
|
|
+ scenePlusVO.getDataSource());
|
|
|
if (cameraDetail.getCompanyId() != null) {
|
|
|
Company company = companyService.getById(cameraDetail.getCompanyId());
|
|
|
if (company != null) {
|
|
@@ -452,12 +459,11 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
|
false, ConstantFilePath.SCENE_PATH + imgViewPath + "QRShareLogo.png");
|
|
|
}
|
|
|
sceneProEditService.updateById(sceneEditInfo);
|
|
|
+ if (!ObjectUtils.isEmpty(company.getCalculateFlexibility()) && !company.getCalculateFlexibility()) {
|
|
|
+ mqMessage.setFlexibility(-1);
|
|
|
+ }
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
-
|
|
|
- BuildSceneCallMessage mqMessage = getBuildSceneMqMessage(sceneNum, cameraType, algorithm, jsonObject.getInteger("resolution"), buildType,
|
|
|
- scenePlusVO.getDataSource());
|
|
|
rabbitMqProducer.sendByWorkQueue(queueV3ModelingPre, mqMessage);
|
|
|
|
|
|
return scenePlusVO;
|