Пример #1
0
 //删除会议室信息
 public bool MeetingRoomdDel(string RoomID)
 {
     using (MeetingRoomBll RoomBll = new MeetingRoomBll())
     {
         return RoomBll.DeleteRoomInfo(RoomID);
     }
 }
Пример #2
0
 //批量删除会议室信息
 public string BatchDelMeetingRoomdInfos(string[] RoomIDs)
 {
     using (MeetingRoomBll RoomBll = new MeetingRoomBll())
     {
         return RoomBll.BatchDeleteMeetingRoomInfos(RoomIDs);
     }
 }
Пример #3
0
 //添加会议室信息
 public string MeetingRoomdAdd(T_OA_MEETINGROOM obj)
 {
     using (MeetingRoomBll RoomBll = new MeetingRoomBll())
     {
         return RoomBll.AddRoomInfo(obj); ;
     }
 }
Пример #4
0
        //获取会议室信息
        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;
            }
        }
Пример #5
0
 //根据会议室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();
         }
     }
 }
Пример #6
0
        private bool IsExistMeetingRoom(string RoomName,string CompanyID)
        {
            using (MeetingRoomBll RoomBll = new MeetingRoomBll())
            {
                return RoomBll.GetMeetingRoomByRoomName(RoomName, CompanyID);
            }

        }
Пример #7
0
 //更新会议室信息
 public void MeetingRoomUpdate(T_OA_MEETINGROOM obj)
 {
     using (MeetingRoomBll RoomBll = new MeetingRoomBll())
     {
         RoomBll.UpdateRoomInfo(obj);
     }
 }
Пример #8
0
 //获取某一公司的会议室信息
 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();
         }
     }
 }
Пример #9
0
 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();
         }
     }
 }
Пример #10
0
        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;
            }
        }
Пример #11
0
 public T_OA_MEETINGROOM GetMeetingRoomById(string RoomId)
 {
     using (MeetingRoomBll RoomBll = new MeetingRoomBll())
     {
         return RoomBll.GetMeetingRoomById(RoomId);
     }
 }