|
@@ -59,12 +59,12 @@ public class GenController extends BaseController
|
|
59
|
* 修改代码生成业务
|
59
|
* 修改代码生成业务
|
|
60
|
*/
|
60
|
*/
|
|
61
|
@RequiresPermissions("tool:gen:query")
|
61
|
@RequiresPermissions("tool:gen:query")
|
|
62
|
- @GetMapping(value = "/{talbleId}")
|
|
|
|
63
|
- public AjaxResult getInfo(@PathVariable Long talbleId)
|
|
|
|
|
|
62
|
+ @GetMapping(value = "/{tableId}")
|
|
|
|
63
|
+ public AjaxResult getInfo(@PathVariable Long tableId)
|
|
64
|
{
|
64
|
{
|
|
65
|
- GenTable table = genTableService.selectGenTableById(talbleId);
|
|
|
|
|
|
65
|
+ GenTable table = genTableService.selectGenTableById(tableId);
|
|
66
|
List<GenTable> tables = genTableService.selectGenTableAll();
|
66
|
List<GenTable> tables = genTableService.selectGenTableAll();
|
|
67
|
- List<GenTableColumn> list = genTableColumnService.selectGenTableColumnListByTableId(talbleId);
|
|
|
|
|
|
67
|
+ List<GenTableColumn> list = genTableColumnService.selectGenTableColumnListByTableId(tableId);
|
|
68
|
Map<String, Object> map = new HashMap<String, Object>();
|
68
|
Map<String, Object> map = new HashMap<String, Object>();
|
|
69
|
map.put("info", table);
|
69
|
map.put("info", table);
|
|
70
|
map.put("rows", list);
|
70
|
map.put("rows", list);
|