1
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user