public bool DelWrokFlow(string WorkFlowID) { bool flag = false; try { T_WorkFlow_MDL workFlowMDL = workFlowBLL.GetModel(ConvertEx.ToInt(WorkFlowID)); if (workFlowMDL != null) { PublicModel.writeLog(SystemSet.EumLogType.DelData.ToString(), string.Concat("T_WorkFlow;key=", workFlowMDL.WorkFlowID, ";CompanyID=", workFlowMDL.CompanyID, ";WorkFlowCode=", workFlowMDL.WorkFlowCode, ";WorkFlowName=", workFlowMDL.WorkFlowName)); } CBLL.WorkFlowManage cbll = new DigiPower.Onlinecol.Standard.CBLL.WorkFlowManage(); cbll.Delete(Common.ConvertEx.ToInt(WorkFlowID)); flag = true; } catch (Exception ex) { Common.LogUtil.Debug(this, "流程删除失败", ex); } return(flag); }