2023-10-25
This commit is contained in:
@@ -545,7 +545,27 @@ namespace BLL
|
||||
}
|
||||
return unitWorkName;
|
||||
}
|
||||
|
||||
public static string GetUnitWorkName(object unitWorkIds)
|
||||
{
|
||||
string unitWorkName = string.Empty;
|
||||
if (unitWorkIds!=null&&!string.IsNullOrEmpty(unitWorkIds.ToString()))
|
||||
{
|
||||
string[] strs = unitWorkIds.ToString().Split(',');
|
||||
foreach (var item in strs)
|
||||
{
|
||||
var un = BLL.UnitWorkService.GetUnitWorkByUnitWorkId(item);
|
||||
if (un != null)
|
||||
{
|
||||
unitWorkName += un.UnitWorkName + GetProjectType(un.ProjectType) + ",";
|
||||
}
|
||||
}
|
||||
if (!string.IsNullOrEmpty(unitWorkName))
|
||||
{
|
||||
unitWorkName = unitWorkName.Substring(0, unitWorkName.LastIndexOf(","));
|
||||
}
|
||||
}
|
||||
return unitWorkName;
|
||||
}
|
||||
public static string getWorkAreaIdByWorkAreaName(string projectId, string workAreaName)
|
||||
{
|
||||
string id = string.Empty;
|
||||
|
||||
Reference in New Issue
Block a user