增加createuserid为NULL和空检查
This commit is contained in:
parent
023ed5d713
commit
8b30412e7c
@ -630,8 +630,15 @@ namespace Learun.Application.Web.AppApi
|
||||
|
||||
//每个位号的属性信息
|
||||
foreach (var tag in objectType.tags)
|
||||
{
|
||||
if (string.IsNullOrEmpty(tag.CreateUserID))
|
||||
{
|
||||
tag.CreateUserName = string.Empty;
|
||||
}
|
||||
else
|
||||
{
|
||||
tag.CreateUserName = userDict[tag.CreateUserID];// allUser.FirstOrDefault(x => x.F_UserId == item.CreateUserID)?.F_RealName;
|
||||
}
|
||||
|
||||
tag.EngineDataProperty = tagPropDictByTag[tag.EngineDataID];// tagPropAll.Where(x => x.EngineDataID == tag.EngineDataID).ToList();
|
||||
tag.ObjectTypeName = objectType.ObjectTypeName;
|
||||
|
Loading…
x
Reference in New Issue
Block a user