20240419 NCR、图纸收发导入

This commit is contained in:
2024-04-19 15:34:10 +08:00
parent 9b5866fabd
commit 44580d9acb
9 changed files with 191 additions and 320 deletions
+19
View File
@@ -590,5 +590,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;
}
}
}
}