|
@@ -228,8 +228,8 @@ public class ScenePlusServiceImpl extends ServiceImpl<IScenePlusMapper, ScenePlu
|
|
|
sceneEditControls.setEditInfoId(sceneEditInfo.getId());
|
|
|
sceneEditControlsService.save(sceneEditControls);
|
|
|
|
|
|
- if(scenePlus.getSceneSource() == 4){ //深时复制
|
|
|
- laserService.copy(scenePlus.getCameraId(),scenePlus.getCreateTime(),newNum,0,null,
|
|
|
+ if(scenePlus.getSceneSource() == 4 || scenePlus.getSceneSource() == 5){ //深时复制
|
|
|
+ laserService.copy(scenePlus.getCameraId(),scenePlus.getCreateTime(),num,newNum,0,null,
|
|
|
sceneEditInfo.getScenePassword(),scenePlus.getTitle(),scenePlus.getUserId(),"V4");
|
|
|
}
|
|
|
|
|
@@ -279,9 +279,9 @@ public class ScenePlusServiceImpl extends ServiceImpl<IScenePlusMapper, ScenePlu
|
|
|
scenePlus.setSceneStatus(-2);
|
|
|
this.updateById(scenePlus);
|
|
|
log.info("复制场景结束-{}", new Date());
|
|
|
- if(scenePlus.getSceneSource() == 4){ //深时复制
|
|
|
+ if(scenePlus.getSceneSource() == 4 || scenePlus.getSceneSource() == 5){ //深时复制
|
|
|
String laserPath = laserService.copyDataSource(oldDataSource,plusExt.getDataSource());
|
|
|
- laserService.copy(scenePlus.getCameraId(),scenePlus.getCreateTime(),newNum,2,laserPath,
|
|
|
+ laserService.copy(scenePlus.getCameraId(),scenePlus.getCreateTime(),num,newNum,2,laserPath,
|
|
|
sceneEditInfo.getScenePassword(),scenePlus.getTitle(),scenePlus.getUserId(),"V4");
|
|
|
}
|
|
|
sceneCopyLogService.saveByNum(num,newNum,scenePlus.getUserId());
|