master
parent
4e887e2964
commit
8084e20948
|
@ -54,7 +54,7 @@ public class GenController extends BaseController
|
|||
*/
|
||||
@RequiresPermissions("tool:gen:query")
|
||||
@GetMapping(value = "/{tableId}")
|
||||
public Result getInfo(@PathVariable Long tableId)
|
||||
public Result getInfo(@PathVariable("tableId") Long tableId)
|
||||
{
|
||||
GenTable table = genTableService.selectGenTableById(tableId);
|
||||
List<GenTable> tables = genTableService.selectGenTableAll();
|
||||
|
@ -83,7 +83,7 @@ public class GenController extends BaseController
|
|||
* 查询数据表字段列表
|
||||
*/
|
||||
@GetMapping(value = "/column/{tableId}")
|
||||
public Result columnList(Long tableId)
|
||||
public Result columnList(@PathVariable("tableId") Long tableId)
|
||||
{
|
||||
TableDataInfo dataInfo = new TableDataInfo();
|
||||
List<GenTableColumn> list = genTableColumnService.selectGenTableColumnListByTableId(tableId);
|
||||
|
@ -126,7 +126,7 @@ public class GenController extends BaseController
|
|||
@RequiresPermissions("tool:gen:remove")
|
||||
@Log(title = "代码生成", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{tableIds}")
|
||||
public Result remove(@PathVariable Long[] tableIds)
|
||||
public Result remove(@PathVariable("tableIds") Long[] tableIds)
|
||||
{
|
||||
genTableService.deleteGenTableByIds(tableIds);
|
||||
return success();
|
||||
|
|
Loading…
Reference in New Issue