修改实业及环保数据

This commit is contained in:
2023-03-09 14:50:40 +08:00
parent 1e79fa5a96
commit e78f7c64e6
44 changed files with 5704 additions and 233 deletions
+15
View File
@@ -693,5 +693,20 @@ namespace BLL
}
return list;
}
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;
}
}
}