diff --git a/psdc-business/src/main/java/com/psdc/service/impl/PsdcSceneServiceImpl.java b/psdc-business/src/main/java/com/psdc/service/impl/PsdcSceneServiceImpl.java index 11fe6a7..15e5905 100644 --- a/psdc-business/src/main/java/com/psdc/service/impl/PsdcSceneServiceImpl.java +++ b/psdc-business/src/main/java/com/psdc/service/impl/PsdcSceneServiceImpl.java @@ -147,8 +147,6 @@ public class PsdcSceneServiceImpl implements IPsdcSceneService { int count = 0; if (null != scene.getSceneCode() && !"".equals(scene.getSceneCode())) { count = psdcSceneMapper.deleteBySceneName(scene.getSceneCode()); - } else { - count = psdcSceneMapper.deleteById(scene.getSceneId()); } if (count > 0) { return true;