/// <summary> /// 查询广告位最该序号 /// </summary> /// <returns></returns> public int GetMaxSort() { int MaxSort = 1; try { MaxSort = dal.GetMaxSort(); } catch (Exception ex) { ExceptionLogBLL.WriteExceptionLogToDB(ex.ToString()); } return(MaxSort); }