0323-001-gaofei
This commit is contained in:
parent
1ca2236fc9
commit
0040e3812b
|
@ -726,7 +726,7 @@ namespace FineUIPro.Web.ProjectData
|
|||
Model.Project_Installation installation = BLL.Project_InstallationService.GetInstallationByInstallationId(id);
|
||||
if (installation.SuperInstallationId == "0") //删除一级装置
|
||||
{
|
||||
if (installation.InstallationName == "总图")
|
||||
if (installation.InstallationName == "总图" || installation.InstallationName == "防腐绝热" || installation.InstallationName == "地勘" || installation.InstallationName == "临时设施" || installation.InstallationName == "全厂地下主管网")
|
||||
{
|
||||
DeleteZTData(installation.InstallationId);
|
||||
}
|
||||
|
@ -819,9 +819,11 @@ namespace FineUIPro.Web.ProjectData
|
|||
var wbsSets = (from x in Funs.DB.Wbs_WbsSet where x.InstallationId == installationId && x.CnProfessionId == null select x).ToList();
|
||||
foreach (var wbsSet in wbsSets)
|
||||
{
|
||||
BLL.CostControlService.DeleteCostControlByWbsSetId(wbsSet.WbsSetId); //删除费控项
|
||||
BLL.WbsDetailHistoryService.DeleteWbsDetailHistoryByToWbs(wbsSet.WbsSetId); //删除进度历史版本记录
|
||||
BLL.WbsDetailService.DeleteWbsDetailByToWbs(wbsSet.WbsSetId); //删除进度记录
|
||||
BLL.WbsSetService.DeleteWbsSet(wbsSet.WbsSetId);
|
||||
BLL.WbsSetMatchCostControlService.DeleteWbsSetMatchCostControlByWbsSetId(wbsSet.WbsSetId); //删除费控项对应关系
|
||||
}
|
||||
|
||||
//删除单位工程及子单位工程
|
||||
|
|
Loading…
Reference in New Issue