Skip to content

Commit

Permalink
回退 'Pull Request !188 : 修复代码生成模块删除时报错的bug'
Browse files Browse the repository at this point in the history
  • Loading branch information
lltx authored and gitee-org committed Jan 19, 2022
1 parent 724606f commit 84e37b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public R<Boolean> updateById(@RequestBody GenDatasourceConf conf) {
*/
@SysLog("删除数据源表")
@DeleteMapping("/{id}")
public R<Boolean> removeById(@PathVariable Long id) {
public R<Boolean> removeById(@PathVariable Integer id) {
return R.ok(datasourceConfService.removeByDsId(id));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public R<Boolean> save(@RequestBody GenFormConf formConf) {
@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));
}

Expand Down

0 comments on commit 84e37b0

Please sign in to comment.