2023-10-25

This commit is contained in:
2023-10-25 23:30:52 +08:00
parent 1580bbcbf7
commit 81d0edb9e7
23 changed files with 386 additions and 250 deletions
+21 -1
View File
@@ -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;