//删除会议室信息 public bool MeetingRoomdDel(string RoomID) { using (MeetingRoomBll RoomBll = new MeetingRoomBll()) { return RoomBll.DeleteRoomInfo(RoomID); } }
//批量删除会议室信息 public string BatchDelMeetingRoomdInfos(string[] RoomIDs) { using (MeetingRoomBll RoomBll = new MeetingRoomBll()) { return RoomBll.BatchDeleteMeetingRoomInfos(RoomIDs); } }
//添加会议室信息 public string MeetingRoomdAdd(T_OA_MEETINGROOM obj) { using (MeetingRoomBll RoomBll = new MeetingRoomBll()) { return RoomBll.AddRoomInfo(obj); ; } }
//获取会议室信息 public List<T_OA_MEETINGROOM> GetMeetingRoomInfos(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string userID) { using (MeetingRoomBll RoomBll = new MeetingRoomBll()) { IQueryable<T_OA_MEETINGROOM> MeetingRoomList = RoomBll.GetMeetingRoomInfosList(pageIndex, pageSize, sort, filterString, paras, ref pageCount, userID); return MeetingRoomList != null ? MeetingRoomList.ToList() : null; } }
//根据会议室ID获取会议室信息 public List<T_OA_MEETINGROOM> GetMeetingRoomInfoByID(string RoomId) { using (MeetingRoomBll RoomBll = new MeetingRoomBll()) { IQueryable<T_OA_MEETINGROOM> MeetingRoomList = RoomBll.GetMeetingRoomListByID(RoomId); if (MeetingRoomList == null) { return null; } else { return MeetingRoomList.ToList(); } } }
private bool IsExistMeetingRoom(string RoomName,string CompanyID) { using (MeetingRoomBll RoomBll = new MeetingRoomBll()) { return RoomBll.GetMeetingRoomByRoomName(RoomName, CompanyID); } }
//更新会议室信息 public void MeetingRoomUpdate(T_OA_MEETINGROOM obj) { using (MeetingRoomBll RoomBll = new MeetingRoomBll()) { RoomBll.UpdateRoomInfo(obj); } }
//获取某一公司的会议室信息 public List<T_OA_MEETINGROOM> GetMeetingRoomTreeInfosByCompanyID(string UserID) { using (MeetingRoomBll RoomBll = new MeetingRoomBll()) { IQueryable<T_OA_MEETINGROOM> MeetingRoomList = RoomBll.GetMeetingRoomTreeInfosListByCompanyID(UserID); if (MeetingRoomList == null) { return null; } else { return MeetingRoomList.ToList(); } } }
public List<T_OA_MEETINGROOM> GetMeetintRoomInfosListBySearch(string StrMeetingName, string StrMemo) { using (MeetingRoomBll RoomBll = new MeetingRoomBll()) { IQueryable<T_OA_MEETINGROOM> MeetingTypeList = RoomBll.GetMeetingRoomInfosListBySearch(StrMeetingName, StrMemo); if (MeetingTypeList == null) { return null; } else { return MeetingTypeList.ToList(); } } }
public List<T_OA_MEETINGROOM> GetMeetingRoomNameInfosToCombox() { using (MeetingRoomBll RoomBll = new MeetingRoomBll()) { IQueryable<T_OA_MEETINGROOM> MeetingRoomList = RoomBll.GetMeetingRoomNameInfos(); return MeetingRoomList.Count() > 0 ? MeetingRoomList.ToList() : null; } }
public T_OA_MEETINGROOM GetMeetingRoomById(string RoomId) { using (MeetingRoomBll RoomBll = new MeetingRoomBll()) { return RoomBll.GetMeetingRoomById(RoomId); } }