From 3cdd43cee7355743eb554badf5b742e061ab2172 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期四, 17 十二月 2020 10:39:00 +0800 Subject: [PATCH] 2020-12-17 1.成员管理UI还原度优化 --- HDL_ON/Common/HDLCommon.cs | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/HDL_ON/Common/HDLCommon.cs b/HDL_ON/Common/HDLCommon.cs index d3f1eba..0be5c25 100644 --- a/HDL_ON/Common/HDLCommon.cs +++ b/HDL_ON/Common/HDLCommon.cs @@ -366,6 +366,17 @@ break; } } + + + /// <summary> + /// + /// </summary> + /// <param name="userName"></param> + /// <returns></returns> + public string GetUserName(string userName) + { + return string.IsNullOrEmpty(userName) ? Language.StringByID(StringId.UsersWhoNameIsEmpty) : userName; + } #endregion } } -- Gitblit v1.8.0