|
@@ -312,19 +312,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 && !ObjectUtils.isEmpty(company.getCalculateFlexibility()) && !company.getCalculateFlexibility()) {
|
|
|
- mqMessage.setFlexibility(-1);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
rabbitMqProducer.sendByWorkQueue(queueModelingPre, mqMessage);
|
|
|
-
|
|
|
return scenePlusVO;
|
|
|
}
|
|
|
|