获取列表字段

optimize
wet 2 years ago
parent 07ba425b5a
commit ff5b2e9657

@ -3831,7 +3831,7 @@ namespace Myshipping.Application
{ {
BookingOrder order = new BookingOrder(); BookingOrder order = new BookingOrder();
BookingCtn ctn = new BookingCtn(); BookingCtn ctn = new BookingCtn();
BookingEDIExt ext = new BookingEDIExt(); BookingEDIExt edi = new BookingEDIExt();
Dictionary<string, string> dic = new Dictionary<string, string>(); Dictionary<string, string> dic = new Dictionary<string, string>();
foreach (PropertyDescriptor descriptor in TypeDescriptor.GetProperties(order)) foreach (PropertyDescriptor descriptor in TypeDescriptor.GetProperties(order))
{ {
@ -3842,7 +3842,7 @@ namespace Myshipping.Application
} }
if (!string.IsNullOrWhiteSpace(descriptor.Description)) if (!string.IsNullOrWhiteSpace(descriptor.Description))
{ {
dic.Add(descriptor.Name, descriptor.Description); dic.Add("order."+descriptor.Name, descriptor.Description);
} }
} }
@ -3858,14 +3858,14 @@ namespace Myshipping.Application
} }
if (!string.IsNullOrWhiteSpace(descriptor.Description)) if (!string.IsNullOrWhiteSpace(descriptor.Description))
{ {
dic1.Add(descriptor.Name, descriptor.Description); dic1.Add("ctn." + descriptor.Name, descriptor.Description);
} }
} }
Dictionary<string, string> dic2 = new Dictionary<string, string>(); Dictionary<string, string> dic2 = new Dictionary<string, string>();
foreach (PropertyDescriptor descriptor in TypeDescriptor.GetProperties(ext)) foreach (PropertyDescriptor descriptor in TypeDescriptor.GetProperties(edi))
{ {
string name = descriptor.Name; string name = descriptor.Name;
if (name == "TenantId" || name == "CreatedTime" || name == "UpdatedTime" || name == "CreatedUserId" || name == "CreatedUserName") if (name == "TenantId" || name == "CreatedTime" || name == "UpdatedTime" || name == "CreatedUserId" || name == "CreatedUserName")
@ -3874,7 +3874,7 @@ namespace Myshipping.Application
} }
if (!string.IsNullOrWhiteSpace(descriptor.Description)) if (!string.IsNullOrWhiteSpace(descriptor.Description))
{ {
dic2.Add(descriptor.Name, descriptor.Description); dic2.Add("edi." + descriptor.Name, descriptor.Description);
} }
} }

@ -542,6 +542,21 @@
大简云userid 大简云userid
</summary> </summary>
</member> </member>
<member name="F:Myshipping.Core.ClaimConst.Tel">
<summary>
电话
</summary>
</member>
<member name="F:Myshipping.Core.ClaimConst.Phone">
<summary>
手机
</summary>
</member>
<member name="F:Myshipping.Core.ClaimConst.Email">
<summary>
邮箱
</summary>
</member>
<member name="F:Myshipping.Core.CommonConst.CACHE_KEY_USER"> <member name="F:Myshipping.Core.CommonConst.CACHE_KEY_USER">
<summary> <summary>
用户缓存 用户缓存
@ -5657,6 +5672,21 @@
大简云userid 大简云userid
</summary> </summary>
</member> </member>
<member name="P:Myshipping.Core.UserManager.TEl">
<summary>
电话
</summary>
</member>
<member name="P:Myshipping.Core.UserManager.Phone">
<summary>
手机
</summary>
</member>
<member name="P:Myshipping.Core.UserManager.Email">
<summary>
邮箱
</summary>
</member>
<member name="T:Myshipping.Core.TokenModel"> <member name="T:Myshipping.Core.TokenModel">
<summary> <summary>
AccessToken参数 AccessToken参数

Loading…
Cancel
Save