From 06bf798da5a6a73f87d935f61ba9a62d6e91ced1 Mon Sep 17 00:00:00 2001 From: XMnhwj_BackTechnologyDevelopment <3512363680@qq.com> Date: Tue, 30 May 2023 11:07:21 +0800 Subject: [PATCH] =?UTF-8?q?2023-05-30=2011:06:35=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=A5=BD=E7=AD=96=E7=95=A5=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E7=9A=84=E5=A2=9E=E3=80=81=E5=88=A0=E3=80=81=E4=BF=AE=E3=80=81?= =?UTF-8?q?=E6=9F=A5=E6=94=B9=E6=8E=A5=E5=8F=A3!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/psdc/service/impl/PsdcSceneServiceImpl.java | 2 -- 1 file changed, 2 deletions(-) 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;