public int MeetingInfoUpdateByForm(T_OA_MEETINGINFO obj, List <T_OA_MEETINGSTAFF> meetingstaffObj, List <T_OA_MEETINGCONTENT> ContentObj, T_OA_MEETINGMESSAGE meetingmessageObj) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { return(MeetingInfoBLL.UpdateMeetingInfo(obj, meetingstaffObj, ContentObj, meetingmessageObj)); } }
public bool MeetingInfoDel(string StrMeetingInfoID) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { return(MeetingInfoBLL.DeleteMeetingInfo(StrMeetingInfoID)); } }
//批量删除 public bool MeetingInfoBatchDel(string[] StrMeetingInfoIDs) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { return(MeetingInfoBLL.BatchDeleteMeetingInfo(StrMeetingInfoIDs)); } }
public int MeetingInfoUpdate(T_OA_MEETINGINFO obj) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { return(MeetingInfoBLL.UpdateMeetingInfo(obj)); } }
//获取会议通知信息 public T_OA_MEETINGMESSAGE GetMeetingMessageByID(string MessageID) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { return(MeetingInfoBLL.GetMeetingMessageByID(MessageID)); } }
public T_OA_MEETINGINFO GetMeetingInfoSingleInfoById(string StrMeetingInfoId) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { return(MeetingInfoBLL.GetMeetingInfoById(StrMeetingInfoId)); } }
public int UpdateMeetingNoticeInfo(T_OA_MEETINGINFO info, T_OA_MEETINGMESSAGE message) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { return(MeetingInfoBLL.UpdateMeetingNoticeInfo(info, message)); } }
public V_MeetingInfo GetMeetingNoticeByNoticeID(string NoticeId) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { return(MeetingInfoBLL.GetMeetingNoticeByNoticeID(NoticeId)); } }
//添加 public string MeetingInfoAdd(T_OA_MEETINGINFO obj, List <T_OA_MEETINGSTAFF> meetingstaffObj, List <T_OA_MEETINGCONTENT> ContentObj, T_OA_MEETINGMESSAGE meetingmessageObj) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { return(MeetingInfoBLL.AddMeetingInfo(obj, meetingstaffObj, ContentObj, meetingmessageObj)); } }
private bool IsExistMeetingInfoByAdd(string StrTitle, string StrMeetingType, string StrRoom, string StrCreatUser, DateTime startdt, DateTime enddt) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { return(MeetingInfoBLL.GetMeetingInfoByAdd(StrTitle, StrMeetingType, StrRoom, StrCreatUser, startdt, enddt)); //return MeetingInfoBLL.GetMeetingTemplateByTemplateNameAndType(StrMeetingType, StrTemplateName); } }
public List <T_OA_MEETINGINFO> GetMeetintInfosListByTitleTimeSearch(string StrTitle, string StrDepartment, string StrType, string StrContent, DateTime DtStart, DateTime DtEnd, string StrCheckState) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { IQueryable <T_OA_MEETINGINFO> MeetingInfoList = MeetingInfoBLL.GetMeetingInfosListByTitleTimeSearch(StrTitle, StrType, StrDepartment, DtStart, DtEnd, StrContent, StrCheckState); if (MeetingInfoList == null) { return(null); } else { return(MeetingInfoList.ToList()); } } }
///获取员工主持的会议 public List <V_MyMeetingInfosManagement> GetMyEmceeMeetingInfosManagement(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string StrUserID) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { IQueryable <V_MyMeetingInfosManagement> MyMeetingInfosList = MeetingInfoBLL.GeMemberEmceeMeetingInfos(pageIndex, pageSize, sort, filterString, paras, ref pageCount, StrUserID); if (MyMeetingInfosList != null) { return(MyMeetingInfosList.ToList()); } else { return(null); } } }
public List <V_MeetingInfo> GetMeetingInfoListByFlow(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string checkState, LoginUserInfo loginUserInfo) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { IQueryable <V_MeetingInfo> MeetingInfoList = null; if (checkState != ((int)CheckStates.WaittingApproval).ToString()) //获取用户的提交借阅信息 { if (checkState == ((int)CheckStates.ALL).ToString()) { MeetingInfoList = MeetingInfoBLL.GetMeetingInfos(pageIndex, pageSize, sort, filterString, paras, ref pageCount, null, "", loginUserInfo.userID); } else { MeetingInfoList = MeetingInfoBLL.GetMeetingInfos(pageIndex, pageSize, sort, filterString, paras, ref pageCount, null, checkState, loginUserInfo.userID); } } else //通过工作流获取用户要审批的借阅信息 { ServiceClient workFlowWS = new ServiceClient(); V_MeetingInfo a = new V_MeetingInfo(); FLOW_FLOWRECORDDETAIL_T flowInfo = new FLOW_FLOWRECORDDETAIL_T(); //审核人 操作 FLOW_FLOWRECORDDETAIL_T[] flowList = workFlowWS.GetFlowInfo("", "", "", "0", "MeetingInfo", loginUserInfo.companyID, loginUserInfo.userID); if (flowList == null) { return(null); } List <V_FlowAPP> flowAppList = new List <V_FlowAPP>(); for (int i = 0; i < flowList.Length; i++) { V_FlowAPP App = new V_FlowAPP(); App.Guid = flowList[i].FLOWRECORDDETAILID; App.FormID = flowList[i].FLOW_FLOWRECORDMASTER_T.FORMID; App.EditUserID = flowList[i].EDITUSERID; App.EditUserName = flowList[i].EDITUSERNAME; flowAppList.Add(App); } checkState = ((int)CheckStates.Approving).ToString(); MeetingInfoList = MeetingInfoBLL.GetMeetingInfos(pageIndex, pageSize, sort, filterString, paras, ref pageCount, flowAppList, checkState, loginUserInfo.userID); } return(MeetingInfoList != null?MeetingInfoList.ToList() : null); } }
public int SubmitFlow(T_OA_MEETINGINFO obj, FLOW_FLOWRECORDDETAIL_T flowRecordInfo, string toUserId) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { MeetingInfoBLL.BeginTransaction(); int nRet = MeetingInfoBLL.UpdateMeetingInfo(obj); if (nRet != 1) { MeetingInfoBLL.RollbackTransaction(); return(-1); } //if (workFlowWS.StartFlow(flowRecordInfo, "", toUserId, "Add") != "OK") //{ // MeetingInfoBLL.RollbackTransaction(); // return -1; //} MeetingInfoBLL.CommitTransaction(); return(1); } }
//添加 public string MeetingInfoAdd(T_OA_MEETINGINFO obj,List<T_OA_MEETINGSTAFF> meetingstaffObj,List<T_OA_MEETINGCONTENT> ContentObj,T_OA_MEETINGMESSAGE meetingmessageObj) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { return MeetingInfoBLL.AddMeetingInfo(obj, meetingstaffObj, ContentObj, meetingmessageObj); } }
public int MeetingInfoUpdateByForm(T_OA_MEETINGINFO obj, List<T_OA_MEETINGSTAFF> meetingstaffObj, List<T_OA_MEETINGCONTENT> ContentObj, T_OA_MEETINGMESSAGE meetingmessageObj) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { return MeetingInfoBLL.UpdateMeetingInfo(obj, meetingstaffObj, ContentObj, meetingmessageObj); } }
public bool MeetingInfoDel(string StrMeetingInfoID) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { return MeetingInfoBLL.DeleteMeetingInfo(StrMeetingInfoID); } }
//批量删除 public bool MeetingInfoBatchDel(string[] StrMeetingInfoIDs) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { return MeetingInfoBLL.BatchDeleteMeetingInfo(StrMeetingInfoIDs); } }
public int MeetingInfoUpdate(T_OA_MEETINGINFO obj) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { return MeetingInfoBLL.UpdateMeetingInfo(obj); } }
//获取会议通知信息 public T_OA_MEETINGMESSAGE GetMeetingMessageByID(string MessageID) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { return MeetingInfoBLL.GetMeetingMessageByID(MessageID); } }
public T_OA_MEETINGINFO GetMeetingInfoSingleInfoById(string StrMeetingInfoId) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { return MeetingInfoBLL.GetMeetingInfoById(StrMeetingInfoId); } }
///获取员工主持的会议 public List<V_MyMeetingInfosManagement> GetMyEmceeMeetingInfosManagement(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string StrUserID) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { IQueryable<V_MyMeetingInfosManagement> MyMeetingInfosList = MeetingInfoBLL.GeMemberEmceeMeetingInfos(pageIndex, pageSize, sort, filterString, paras, ref pageCount, StrUserID); if (MyMeetingInfosList != null) { return MyMeetingInfosList.ToList(); } else { return null; } } }
public List<T_OA_MEETINGINFO> GetMeetintInfosListByTitleTimeSearch(string StrTitle, string StrDepartment, string StrType, string StrContent, DateTime DtStart, DateTime DtEnd, string StrCheckState) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { IQueryable<T_OA_MEETINGINFO> MeetingInfoList = MeetingInfoBLL.GetMeetingInfosListByTitleTimeSearch(StrTitle, StrType, StrDepartment, DtStart, DtEnd, StrContent, StrCheckState); if (MeetingInfoList == null) { return null; } else { return MeetingInfoList.ToList(); } } }
public int UpdateMeetingNoticeInfo(T_OA_MEETINGINFO info, T_OA_MEETINGMESSAGE message) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { return MeetingInfoBLL.UpdateMeetingNoticeInfo(info, message); } }
public V_MeetingInfo GetMeetingNoticeByNoticeID(string NoticeId) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { return MeetingInfoBLL.GetMeetingNoticeByNoticeID(NoticeId); } }
public List<V_MeetingInfo> GetMeetingInfoListByFlow(int pageIndex, int pageSize, string sort, string filterString, object[] paras, ref int pageCount, string checkState, LoginUserInfo loginUserInfo) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { IQueryable<V_MeetingInfo> MeetingInfoList = null; if (checkState != ((int)CheckStates.WaittingApproval).ToString()) //获取用户的提交借阅信息 { if (checkState == ((int)CheckStates.ALL).ToString()) { MeetingInfoList = MeetingInfoBLL.GetMeetingInfos(pageIndex, pageSize, sort, filterString, paras, ref pageCount, null, "", loginUserInfo.userID); } else { MeetingInfoList = MeetingInfoBLL.GetMeetingInfos(pageIndex, pageSize, sort, filterString, paras, ref pageCount, null, checkState, loginUserInfo.userID); } } else //通过工作流获取用户要审批的借阅信息 { ServiceClient workFlowWS = new ServiceClient(); V_MeetingInfo a = new V_MeetingInfo(); SMT.SaaS.BLLCommonServices.FlowWFService.FLOW_FLOWRECORDDETAIL_T flowInfo = new SMT.SaaS.BLLCommonServices.FlowWFService.FLOW_FLOWRECORDDETAIL_T(); //审核人 操作 SMT.SaaS.BLLCommonServices.FlowWFService.FLOW_FLOWRECORDDETAIL_T[] flowList = workFlowWS.GetFlowInfo("", "", "", "0", "MeetingInfo", loginUserInfo.companyID, loginUserInfo.userID); if (flowList == null) { return null; } List<V_FlowAPP> flowAppList = new List<V_FlowAPP>(); for (int i = 0; i < flowList.Length; i++) { V_FlowAPP App = new V_FlowAPP(); App.Guid = flowList[i].FLOWRECORDDETAILID; App.FormID = flowList[i].FLOW_FLOWRECORDMASTER_T.FORMID; App.EditUserID = flowList[i].EDITUSERID; App.EditUserName = flowList[i].EDITUSERNAME; flowAppList.Add(App); } checkState = ((int)CheckStates.Approving).ToString(); MeetingInfoList = MeetingInfoBLL.GetMeetingInfos(pageIndex, pageSize, sort, filterString, paras, ref pageCount, flowAppList, checkState, loginUserInfo.userID); } return MeetingInfoList != null ? MeetingInfoList.ToList() : null; } }
public int SubmitFlow(T_OA_MEETINGINFO obj, SMT.SaaS.BLLCommonServices.FlowWFService.FLOW_FLOWRECORDDETAIL_T flowRecordInfo, string toUserId) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { MeetingInfoBLL.BeginTransaction(); int nRet = MeetingInfoBLL.UpdateMeetingInfo(obj); if (nRet != 1) { MeetingInfoBLL.RollbackTransaction(); return -1; } //if (workFlowWS.StartFlow(flowRecordInfo, "", toUserId, "Add") != "OK") //{ // MeetingInfoBLL.RollbackTransaction(); // return -1; //} MeetingInfoBLL.CommitTransaction(); return 1; } }
private bool IsExistMeetingInfoByAdd(string StrTitle, string StrMeetingType, string StrRoom, string StrCreatUser, DateTime startdt, DateTime enddt) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { return MeetingInfoBLL.GetMeetingInfoByAdd(StrTitle, StrMeetingType, StrRoom, StrCreatUser, startdt, enddt); //return MeetingInfoBLL.GetMeetingTemplateByTemplateNameAndType(StrMeetingType, StrTemplateName); } }