未验证 提交 3f2f8dd5 编写于 作者: pig_冷冷's avatar pig_冷冷 提交者: Gitee

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

Merge pull request !191 from lengleng/revert-merge-189-master
......@@ -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));
}
......
......@@ -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));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册