From 88dc247975de8b2c3e1a2cbac49a6f18924e9bbd Mon Sep 17 00:00:00 2001 From: lengleng Date: Wed, 19 Jan 2022 03:44:18 +0000 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=20'Pull=20Request=20!189=20:?= =?UTF-8?q?=20=E5=9B=9E=E9=80=80=20'Pull=20Request=20!188=20:=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=B6=E6=8A=A5=E9=94=99=E7=9A=84bug''?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pig4cloud/pig/codegen/controller/GenDsConfController.java | 2 +- .../pig4cloud/pig/codegen/controller/GenFormConfController.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pig-visual/pig-codegen/src/main/java/com/pig4cloud/pig/codegen/controller/GenDsConfController.java b/pig-visual/pig-codegen/src/main/java/com/pig4cloud/pig/codegen/controller/GenDsConfController.java index 116d1c58..a734be31 100755 --- a/pig-visual/pig-codegen/src/main/java/com/pig4cloud/pig/codegen/controller/GenDsConfController.java +++ b/pig-visual/pig-codegen/src/main/java/com/pig4cloud/pig/codegen/controller/GenDsConfController.java @@ -101,7 +101,7 @@ public class GenDsConfController { */ @SysLog("删除数据源表") @DeleteMapping("/{id}") - public R removeById(@PathVariable Integer id) { + public R removeById(@PathVariable Long id) { return R.ok(datasourceConfService.removeByDsId(id)); } diff --git a/pig-visual/pig-codegen/src/main/java/com/pig4cloud/pig/codegen/controller/GenFormConfController.java b/pig-visual/pig-codegen/src/main/java/com/pig4cloud/pig/codegen/controller/GenFormConfController.java index 8ef6c64b..4f4d63e6 100755 --- a/pig-visual/pig-codegen/src/main/java/com/pig4cloud/pig/codegen/controller/GenFormConfController.java +++ b/pig-visual/pig-codegen/src/main/java/com/pig4cloud/pig/codegen/controller/GenFormConfController.java @@ -100,7 +100,7 @@ public class GenFormConfController { @SysLog("通过id删除生成记录") @DeleteMapping("/{id}") @PreAuthorize("@pms.hasPermission('gen_form_del')") - public R removeById(@PathVariable Integer id) { + public R removeById(@PathVariable Long id) { return R.ok(genRecordService.removeById(id)); }