Explorar o código

取消 修改复制场景 状态修改

xiewj %!s(int64=2) %!d(string=hai) anos
pai
achega
992136503f

+ 0 - 5
src/main/java/com/fdkankan/scene/service/impl/SceneServiceImpl.java

@@ -283,11 +283,6 @@ public class SceneServiceImpl extends ServiceImpl<ISceneMapper, Scene> implement
 
             scenePlus.setSceneStatus(-2);
             scenePlusService.updateById(scenePlus);
-            Scene bySceneCode = getBySceneCode(sceneNum);
-            if (ObjUtil.isNotNull(bySceneCode)){
-                bySceneCode.setStatus(2);
-                updateById(bySceneCode);
-            }
             log.info("复制成功。。。。。");
 
         }catch (Exception e){