|
@@ -287,7 +287,8 @@ public class ScenePlusServiceImpl extends ServiceImpl<IScenePlusMapper, ScenePlu
|
|
|
**/
|
|
|
@Override
|
|
|
public ResultData initScene(String bucket, String num, String title, String des, Integer sceneSource,
|
|
|
- String dataSource, Integer sceneScheme, String sceneResolution, String sceneFrom, String mdoelKind, Date algorithmTime) {
|
|
|
+ String dataSource, Integer sceneScheme, String sceneResolution, String sceneFrom, String mdoelKind, Date algorithmTime,
|
|
|
+ String orientation) {
|
|
|
|
|
|
ScenePlus scenePlus = this.getScenePlusByNum(num);
|
|
|
|
|
@@ -327,7 +328,11 @@ public class ScenePlusServiceImpl extends ServiceImpl<IScenePlusMapper, ScenePlu
|
|
|
scenePlusExt.setAlgorithmTime(Calendar.getInstance().getTime());
|
|
|
scenePlusExt.setVideos(this.getVideosJson(dataSource, videoVersion, num, cameraType).toJSONString());
|
|
|
scenePlusExt.setAlgorithmTime(algorithmTime);
|
|
|
+ scenePlusExt.setOrientation(orientation);
|
|
|
scenePlusExtService.saveOrUpdate(scenePlusExt);
|
|
|
+ if(StrUtil.isEmpty(orientation)){
|
|
|
+ scenePlusExtService.update(new LambdaUpdateWrapper<ScenePlusExt>().eq(ScenePlusExt::getId, scenePlusExt.getId()).setSql("orientation = null"));
|
|
|
+ }
|
|
|
|
|
|
//生成编辑主表
|
|
|
String pwd = fdageData.getString("pwd");
|