提交定制会内容

This commit is contained in:
2025-06-19 18:59:39 +08:00
parent 6be8d160e0
commit e1eb091f3b
150 changed files with 24036 additions and 582 deletions
+17
View File
@@ -691,5 +691,22 @@ namespace BLL
}
return result;
}
#region id获取项目总包单位Id
/// <summary>
/// 得到本单位Id
/// </summary>
/// <returns></returns>
public static string GetMainProjectUnitId(string projectId)
{
string unitId = string.Empty;
var projectUnit = Funs.DB.Project_ProjectUnit.FirstOrDefault(e => e.ProjectId == projectId && e.UnitType == BLL.Const.ProjectUnitType_1);
if (projectUnit != null)
{
unitId = projectUnit.UnitId;
}
return unitId;
}
#endregion
}
}