|
|
@ -147,8 +147,6 @@ public class PsdcSceneServiceImpl implements IPsdcSceneService { |
|
|
|
int count = 0; |
|
|
|
int count = 0; |
|
|
|
if (null != scene.getSceneCode() && !"".equals(scene.getSceneCode())) { |
|
|
|
if (null != scene.getSceneCode() && !"".equals(scene.getSceneCode())) { |
|
|
|
count = psdcSceneMapper.deleteBySceneName(scene.getSceneCode()); |
|
|
|
count = psdcSceneMapper.deleteBySceneName(scene.getSceneCode()); |
|
|
|
} else { |
|
|
|
|
|
|
|
count = psdcSceneMapper.deleteById(scene.getSceneId()); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
if (count > 0) { |
|
|
|
if (count > 0) { |
|
|
|
return true; |
|
|
|
return true; |
|
|
|