From 84e37b0ffd00cebacfcbe23dc467727da7baa512 Mon Sep 17 00:00:00 2001 From: lengleng Date: Wed, 19 Jan 2022 03:33:24 +0000 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=20'Pull=20Request=20!188=20:?= =?UTF-8?q?=20=E4=BF=AE=E5=A4=8D=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E5=88=A0=E9=99=A4=E6=97=B6=E6=8A=A5=E9=94=99?= =?UTF-8?q?=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 a734be31..116d1c58 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 Long id) { + public R removeById(@PathVariable Integer 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 4f4d63e6..8ef6c64b 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 Long id) { + public R removeById(@PathVariable Integer id) { return R.ok(genRecordService.removeById(id)); }