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

This commit is contained in:
lengleng 2022-01-19 03:44:18 +00:00 committed by Gitee
parent 84df36b580
commit 88dc247975
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("删除数据源表")
@DeleteMapping("/{id}")
public R<Boolean> removeById(@PathVariable Integer id) {
public R<Boolean> removeById(@PathVariable Long id) {
return R.ok(datasourceConfService.removeByDsId(id));
}

View File

@ -100,7 +100,7 @@ public class GenFormConfController {
@SysLog("通过id删除生成记录")
@DeleteMapping("/{id}")
@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));
}