修改博盛接口和进度录入

This commit is contained in:
2023-07-25 17:32:36 +08:00
parent 22b400ec20
commit 9838978a8c
6 changed files with 95 additions and 35 deletions
+16
View File
@@ -308,6 +308,22 @@ namespace BLL
return name;
}
/// <summary>
/// 获取单位Id
/// </summary>
/// <param name="UnitName"></param>
/// <returns></returns>
public static string GetUnitIdByUnitName(string unitName)
{
string name = null;
var unit = Funs.DB.Base_Unit.FirstOrDefault(x => x.UnitName == unitName);
if (unit != null)
{
name = unit.UnitId;
}
return name;
}
/// <summary>
/// 获取单位简称
/// </summary>