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

Merge pull request !189 from lengleng/revert-merge-188-master
This commit is contained in:
lengleng 2022-01-19 03:33:57 +00:00 committed by Gitee
commit 84df36b580
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 Long id) {
public R<Boolean> removeById(@PathVariable Integer 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 Long id) {
public R<Boolean> removeById(@PathVariable Integer id) {
return R.ok(genRecordService.removeById(id));
}