|
@@ -90,6 +90,8 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
private String queueObjModelingPre;
|
|
|
@Autowired
|
|
|
private ISceneUpgradeMapper sceneUpgradeMapper;
|
|
|
+ @Autowired
|
|
|
+ ISceneCopyLogService sceneCopyLogService;
|
|
|
|
|
|
|
|
|
@Override
|
|
@@ -321,6 +323,10 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
if(ObjectUtils.isEmpty(sceneProEntity) && ObjectUtils.isEmpty(scenePlusEntity)){
|
|
|
throw new BusinessException(ResultCode.SCENE_NOT_EXIT);
|
|
|
}
|
|
|
+ List<SceneCopyLog> sceneCopyLogs = sceneCopyLogService.getByNewNum(num);
|
|
|
+ if(sceneCopyLogs!=null && sceneCopyLogs.size()>0){
|
|
|
+ throw new BusinessException(ResultCode.GENERATE_OBJ_ERROR);
|
|
|
+ }
|
|
|
laserService.updateBuildObjStatus(num,2);
|
|
|
|
|
|
Integer sceneSource = sceneProEntity == null ? scenePlusEntity.getSceneSource() : sceneProEntity.getSceneSource();
|