班前会添加装置单元

This commit is contained in:
2025-09-03 16:40:38 +08:00
parent 47c8a5d415
commit f6b2bdfb81
19 changed files with 409 additions and 147 deletions
+20
View File
@@ -87,6 +87,26 @@ namespace BLL
}
#endregion
#region
public static List<Model.BaseInfoItem> getProjectInstallations(string projectId)
{
using(Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
{
var list = (from x in db.Project_Installation
where x.ProjectId == projectId
select new Model.BaseInfoItem
{
BaseInfoId = x.InstallationId,
BaseInfoCode = x.InstallationCode,
BaseInfoName = x.InstallationName
}
).ToList();
return list;
}
}
#endregion
#region
/// <summary>
/// 根据项目号获取项目信息