提交定制会内容
This commit is contained in:
@@ -723,5 +723,24 @@ namespace BLL
|
||||
}
|
||||
return name;
|
||||
}
|
||||
|
||||
public static string GetUnitWorkIdsByUnitWorkNames(string projectId, string unitWorks)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(unitWorks))
|
||||
{
|
||||
string[] ins = unitWorks.Split(',');
|
||||
string unitIds = string.Empty;
|
||||
foreach (string s in ins)
|
||||
{
|
||||
var q = GetUnitWorkByUnitWorkName(projectId, s.Trim()).UnitWorkId;
|
||||
unitIds += q + ",";
|
||||
}
|
||||
return unitIds.Substring(0, unitIds.LastIndexOf(','));
|
||||
}
|
||||
else
|
||||
{
|
||||
return string.Empty;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user