mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-23 13:03:42 +08:00
Merge pull request !191 from lengleng/revert-merge-189-master
This commit is contained in:
commit
3f2f8dd577
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user