fixd:子表数据查询问题
This commit is contained in:
parent
c3325efbc6
commit
e209c4a192
@ -58,7 +58,7 @@ namespace ZR.Service.System
|
||||
var info = GenTableRepository.GetId(tableId);
|
||||
if (info != null && !info.SubTableName.IsEmpty())
|
||||
{
|
||||
info.SubTable = GenTableRepository.Queryable().Where(f => f.SubTableName == info.TableName).First();
|
||||
info.SubTable = GenTableRepository.Queryable().Where(f => f.TableName == info.SubTableName).First();
|
||||
}
|
||||
return info;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user