1
This commit is contained in:
@@ -248,6 +248,36 @@ namespace FineUIPro.Web.Comprehensive
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 监督人
|
||||
/// </summary>
|
||||
/// <param name="CarryUnitWorks"></param>
|
||||
/// <returns></returns>
|
||||
protected string ConvertSupervisorName(object Supervisor)
|
||||
{
|
||||
string SupervisorName = string.Empty;
|
||||
if (Supervisor != null)
|
||||
{
|
||||
string[] Ids = Supervisor.ToString().Split(',');
|
||||
foreach (string t in Ids)
|
||||
{
|
||||
var user = BLL.UserService.GetUserByUserId(t);
|
||||
if (user != null)
|
||||
{
|
||||
SupervisorName += user.UserName + ",";
|
||||
}
|
||||
}
|
||||
}
|
||||
if (SupervisorName != string.Empty)
|
||||
{
|
||||
return SupervisorName.Substring(0, SupervisorName.Length - 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
public static string ConvertState(object Status)
|
||||
{
|
||||
if (Status != null)
|
||||
|
||||
Reference in New Issue
Block a user