From 9e914f320428caabf8e5cb74519c0109af8570e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com> Date: Mon, 13 Feb 2023 11:10:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=8A=A0=E5=AD=90=E8=A1=A8?= =?UTF-8?q?=E5=88=97=E6=9F=A5=E8=AF=A2=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ZR.Service/System/GenTableService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ZR.Service/System/GenTableService.cs b/ZR.Service/System/GenTableService.cs index b98b6cc..6195d57 100644 --- a/ZR.Service/System/GenTableService.cs +++ b/ZR.Service/System/GenTableService.cs @@ -50,10 +50,11 @@ namespace ZR.Service.System /// public GenTable GetGenTableInfo(long tableId) { - var info = GetId(tableId); + GenTable info = GetId(tableId); if (info != null && !info.SubTableName.IsEmpty()) { info.SubTable = Queryable().Where(f => f.TableName == info.SubTableName).First(); + info.SubTable.Columns = GenTableColumnService.GenTableColumns(info.SubTable.TableId); } return info; }