fix 修复变量拼写错误

2.X
疯狂的狮子Li 3 years ago committed by Gitee
parent 32a4766e0e
commit 7dff3c88a8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -55,11 +55,11 @@ public class GenController extends BaseController {
*/ */
@ApiOperation("修改代码生成业务") @ApiOperation("修改代码生成业务")
@SaCheckPermission("tool:gen:query") @SaCheckPermission("tool:gen:query")
@GetMapping(value = "/{talbleId}") @GetMapping(value = "/{tableId}")
public R<Map<String, Object>> getInfo(@PathVariable Long talbleId) { public R<Map<String, Object>> getInfo(@PathVariable Long tableId) {
GenTable table = genTableService.selectGenTableById(talbleId); GenTable table = genTableService.selectGenTableById(tableId);
List<GenTable> tables = genTableService.selectGenTableAll(); List<GenTable> tables = genTableService.selectGenTableAll();
List<GenTableColumn> list = genTableColumnService.selectGenTableColumnListByTableId(talbleId); List<GenTableColumn> list = genTableColumnService.selectGenTableColumnListByTableId(tableId);
Map<String, Object> map = new HashMap<String, Object>(); Map<String, Object> map = new HashMap<String, Object>();
map.put("info", table); map.put("info", table);
map.put("rows", list); map.put("rows", list);

Loading…
Cancel
Save