2023-03-07 增加实业数据编辑

This commit is contained in:
2023-03-07 23:01:04 +08:00
parent 79c311a870
commit 3f158f1a70
38 changed files with 5390 additions and 4 deletions
+14
View File
@@ -332,6 +332,20 @@ namespace BLL
}
return name;
}
public static string GetUnitNameByUnitId(object unitId)
{
string name = string.Empty;
if (unitId != null)
{
var unit = Funs.DB.Base_Unit.FirstOrDefault(x => x.UnitId == unitId.ToString());
if (unit != null)
{
name = unit.UnitName;
}
}
return name;
}
public static string GetInstallationNameByUnitId(string installationId)
{
string name = string.Empty;