获取列表字段

optimize
wet 2 years ago
parent 07ba425b5a
commit ff5b2e9657

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

@ -542,6 +542,21 @@
大简云userid
</summary>
</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">
<summary>
用户缓存
@ -5657,6 +5672,21 @@
大简云userid
</summary>
</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">
<summary>
AccessToken参数

Loading…
Cancel
Save