!191 回退 'Pull Request !189 : 回退 'Pull Request !188 : 修复代码生成模块删除时报错的bug''

Merge pull request !191 from lengleng/revert-merge-189-master
This commit is contained in:
lengleng 2022-01-19 03:44:40 +00:00 committed by Gitee
commit 3f2f8dd577
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ public class GenDsConfController {
*/ */
@SysLog("删除数据源表") @SysLog("删除数据源表")
@DeleteMapping("/{id}") @DeleteMapping("/{id}")
public R<Boolean> removeById(@PathVariable Integer id) { public R<Boolean> removeById(@PathVariable Long id) {
return R.ok(datasourceConfService.removeByDsId(id)); return R.ok(datasourceConfService.removeByDsId(id));
} }

View File

@ -100,7 +100,7 @@ public class GenFormConfController {
@SysLog("通过id删除生成记录") @SysLog("通过id删除生成记录")
@DeleteMapping("/{id}") @DeleteMapping("/{id}")
@PreAuthorize("@pms.hasPermission('gen_form_del')") @PreAuthorize("@pms.hasPermission('gen_form_del')")
public R<Boolean> removeById(@PathVariable Integer id) { public R<Boolean> removeById(@PathVariable Long id) {
return R.ok(genRecordService.removeById(id)); return R.ok(genRecordService.removeById(id));
} }