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