新增加子表列查询数据
This commit is contained in:
parent
723ba3e313
commit
9e914f3204
@ -50,10 +50,11 @@ namespace ZR.Service.System
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public GenTable GetGenTableInfo(long tableId)
|
public GenTable GetGenTableInfo(long tableId)
|
||||||
{
|
{
|
||||||
var info = GetId(tableId);
|
GenTable info = GetId(tableId);
|
||||||
if (info != null && !info.SubTableName.IsEmpty())
|
if (info != null && !info.SubTableName.IsEmpty())
|
||||||
{
|
{
|
||||||
info.SubTable = Queryable().Where(f => f.TableName == info.SubTableName).First();
|
info.SubTable = Queryable().Where(f => f.TableName == info.SubTableName).First();
|
||||||
|
info.SubTable.Columns = GenTableColumnService.GenTableColumns(info.SubTable.TableId);
|
||||||
}
|
}
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user