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
+3 -3
View File
@@ -671,10 +671,10 @@ namespace BLL
string unitIds = string.Empty;
foreach (string s in ins)
{
var q = BLL.UnitService.getUnitByUnitName(s);
unitIds = unitIds + q.UnitId + ",";
var q = getUnitByUnitName(s.Trim());
unitIds += q.UnitId + ",";
}
return unitIds.Substring(0, unitIds.Length - 1);
return unitIds.Substring(0, unitIds.LastIndexOf(","));
}
else
{