This commit is contained in:
2025-11-19 17:32:27 +08:00
parent 65c465ed67
commit 85089988bd
9 changed files with 111 additions and 8 deletions
@@ -142,6 +142,20 @@ namespace BLL
}
}
/// <summary>
/// 根据项目Id删除装置
/// </summary>
/// <param name="monthReportId"></param>
public static void DeleteProjectInstallationByProjectId(string projectId)
{
var dellist = from x in Funs.DB.Project_Installation where x.ProjectId == projectId select x;
if (dellist.Count() > 0)
{
Funs.DB.Project_Installation.DeleteAllOnSubmit(dellist);
Funs.DB.SubmitChanges();
}
}
/// <summary>
/// 获取装置/单元名称项
/// </summary>