From 771c8e6cc0ce8696d8ec82af3f4098bbf840c899 Mon Sep 17 00:00:00 2001 From: Parker Date: Sun, 22 Nov 2020 14:32:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=BB=A3=E7=A0=81=E7=94=9F?= =?UTF-8?q?=E6=88=90=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modulars/creater/table/web/TableRestController.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/opsli-modulars/opsli-modulars-creater/src/main/java/org/opsli/modulars/creater/table/web/TableRestController.java b/opsli-modulars/opsli-modulars-creater/src/main/java/org/opsli/modulars/creater/table/web/TableRestController.java index e812fe3..e922eb8 100644 --- a/opsli-modulars/opsli-modulars-creater/src/main/java/org/opsli/modulars/creater/table/web/TableRestController.java +++ b/opsli-modulars/opsli-modulars-creater/src/main/java/org/opsli/modulars/creater/table/web/TableRestController.java @@ -121,7 +121,7 @@ public class TableRestController extends BaseRestController insert(CreaterTableAndColumnModel model) { // 演示模式 不允许操作 - super.demoError(); + //super.demoError(); // 调用新增方法 IService.insertAny(model); @@ -140,7 +140,7 @@ public class TableRestController extends BaseRestController update(CreaterTableAndColumnModel model) { // 演示模式 不允许操作 - super.demoError(); + //super.demoError(); // 调用修改方法 IService.updateAny(model); @@ -160,7 +160,8 @@ public class TableRestController extends BaseRestController del(String id){ // 演示模式 不允许操作 - super.demoError(); + //super.demoError(); + try { IService.removeByIdAny(id); } catch (ServiceException e){ @@ -183,7 +184,7 @@ public class TableRestController extends BaseRestController delAll(String[] ids){ // 演示模式 不允许操作 - super.demoError(); + //super.demoError(); try { IService.removeByIdsAny(ids);