/// <summary> /// 判断审批流程是否被引用 /// </summary> /// <param name="splx_phid">审批类型id</param> /// <returns></returns> public bool ProcIsUsed(long splx_phid) { bool symbol = false; if (splx_phid == 0) { return(symbol); } SqlDao sqlDao = new SqlDao(); DataTable dataTable = sqlDao.ProcIsUsed(splx_phid); if (dataTable != null && dataTable.Rows.Count > 0) { symbol = true; } return(symbol); }