This commit is contained in:
2025-09-24 11:27:49 +08:00
parent 3ad6b67803
commit 9577a0ce23
15 changed files with 167 additions and 130 deletions
@@ -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)