Pre Merge pull request !787 from TikCloud/5.X

This commit is contained in:
TikCloud 2025-11-13 04:06:04 +00:00 committed by Gitee
commit 725522a659
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -57,12 +57,12 @@ public class GenController extends BaseController {
@GetMapping(value = "/{tableId}")
public R<Map<String, Object>> getInfo(@PathVariable Long tableId) {
GenTable table = genTableService.selectGenTableById(tableId);
List<GenTable> tables = genTableService.selectGenTableAll();
// List<GenTable> tables = genTableService.selectGenTableAll();
List<GenTableColumn> list = genTableService.selectGenTableColumnListByTableId(tableId);
Map<String, Object> map = new HashMap<>(3);
map.put("info", table);
map.put("rows", list);
map.put("tables", tables);
// map.put("tables", tables);
return R.ok(map);
}