2023-04-25-001

This commit is contained in:
2023-04-25 21:38:01 +08:00
parent 6813e22226
commit 418ef0bd4a
15 changed files with 207 additions and 33 deletions
+14 -1
View File
@@ -92,7 +92,20 @@ namespace BLL
}
return name;
}
public static string getDepartNameById(object departId)
{
string name = string.Empty;
if (departId!=null&& !string.IsNullOrEmpty(departId.ToString()))
{
var dep = Funs.DB.Base_Depart.FirstOrDefault(e => e.DepartId == departId.ToString());
if (dep != null)
{
name = dep.DepartName;
}
}
return name;
}
#region
/// <summary>
/// 表下拉框