:sparkles:代码生成新增记录日志配置
This commit is contained in:
@@ -48,7 +48,7 @@ namespace ZR.ServiceCore.Services
|
||||
if (info != null)
|
||||
{
|
||||
info.Columns = GenTableColumnService.GenTableColumns(tableId);
|
||||
if (!info.SubTableName.IsEmpty())
|
||||
if (!info.SubTableName.IsEmpty() && info.SubTable != null)
|
||||
{
|
||||
info.SubTable = Queryable().Where(f => f.TableName == info.SubTableName).First();
|
||||
info.SubTable.Columns = GenTableColumnService.GenTableColumns(info.SubTable.TableId);
|
||||
|
||||
Reference in New Issue
Block a user