还原代码生成模板 menu_id 丢失问题
This commit is contained in:
parent
9247c3438f
commit
e8043769aa
@ -244,6 +244,9 @@ public class GenTableServiceImpl implements IGenTableService
|
||||
{
|
||||
// 查询表信息
|
||||
GenTable table = genTableMapper.selectGenTableByName(tableName);
|
||||
// 获取菜单id序列,用于生成菜单sql语句
|
||||
long menuId = genTableMapper.selectMenuId();
|
||||
table.setMenuId(menuId);
|
||||
// 设置主子表信息
|
||||
setSubTable(table);
|
||||
// 设置主键列信息
|
||||
@ -357,6 +360,9 @@ public class GenTableServiceImpl implements IGenTableService
|
||||
{
|
||||
// 查询表信息
|
||||
GenTable table = genTableMapper.selectGenTableByName(tableName);
|
||||
// 获取菜单id序列,用于生成菜单sql语句
|
||||
long menuId = genTableMapper.selectMenuId();
|
||||
table.setMenuId(menuId);
|
||||
// 设置主子表信息
|
||||
setSubTable(table);
|
||||
// 设置主键列信息
|
||||
|
Loading…
Reference in New Issue
Block a user