public int UpdateMeetingNoticeInfo(T_OA_MEETINGINFO info, T_OA_MEETINGMESSAGE message) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { return(MeetingInfoBLL.UpdateMeetingNoticeInfo(info, message)); } }
private void senddoctab_SelectionChanged(object sender, SelectionChangedEventArgs e) { TabControl TabC = sender as TabControl; if (TabC.SelectedIndex == 1) { string StrTitle = tmpvmeeting.meetinginfo.MEETINGTITLE; if (!string.IsNullOrEmpty(StrTitle)) { this.txtMessageTitle.Text = StrTitle + Utility.GetResourceStr("MEETINGCHANGENOTICES");; String MeetingRoom = tmpvmeeting.meetinginfo.T_OA_MEETINGROOM.MEETINGROOMNAME;; string StrStartDt = ""; string StrStartTime = ""; string StrEndDt = ""; string StrEndTime = ""; StrStartDt = this.DPStart.Text.ToString(); StrEndDt = this.DPEnd.Text.ToString(); StrStartTime = tpStartTime.Value.Value.ToString("HH:mm"); StrEndTime = tpEndTime.Value.Value.ToString("HH:mm"); DateTime DtStart = System.Convert.ToDateTime(StrStartDt + " " + StrStartTime); DateTime DtEnd = System.Convert.ToDateTime(StrEndDt + " " + StrEndTime); T_OA_MEETINGMESSAGE aa = new T_OA_MEETINGMESSAGE(); if (!string.IsNullOrEmpty(MeetingRoom) && (DtStart < DtEnd)) { txtMessageContent.RichTextBoxContext = this.TransDate(Convert.ToDateTime(tmpvmeeting.meetinginfo.STARTTIME), Convert.ToDateTime(tmpvmeeting.meetinginfo.ENDTIME), DtStart, DtEnd, MeetingRoom, StrTitle); } } } }
void AddStaffMessage() { string StrTitle = txtMessageTitle.Text.ToString(); //string StrContent = txtMessageContent.Text.ToString(); string StrTel = txtMessageTel.Text.ToString(); MessageObj = new T_OA_MEETINGMESSAGE(); MessageObj.MEETINGMESSAGEID = System.Guid.NewGuid().ToString(); MessageObj.T_OA_MEETINGINFO = tmpvmeeting.meetinginfo;// new T_OA_MEETINGINFO();// tmpMeetingInfo; //MessageObj.T_OA_MEETINGINFO.MEETINGINFOID = tmpMeetingInfo.MEETINGINFOID; MessageObj.TITLE = StrTitle; MessageObj.CONTENT = txtMessageContent.RichTextBoxContext; MessageObj.TEL = StrTel; MessageObj.CREATEDATE = System.DateTime.Now; MessageObj.CREATECOMPANYID = Common.CurrentLoginUserInfo.UserPosts[0].CompanyID; MessageObj.CREATEUSERNAME = Common.CurrentLoginUserInfo.EmployeeName; MessageObj.CREATEUSERID = Common.CurrentLoginUserInfo.EmployeeID; MessageObj.CREATEDEPARTMENTID = Common.CurrentLoginUserInfo.UserPosts[0].DepartmentID; MessageObj.CREATEPOSTID = Common.CurrentLoginUserInfo.UserPosts[0].PostID; MessageObj.OWNERCOMPANYID = Common.CurrentLoginUserInfo.UserPosts[0].CompanyID; MessageObj.OWNERDEPARTMENTID = Common.CurrentLoginUserInfo.UserPosts[0].DepartmentID; MessageObj.OWNERPOSTID = Common.CurrentLoginUserInfo.UserPosts[0].PostID; MessageObj.OWNERID = Common.CurrentLoginUserInfo.EmployeeID; MessageObj.OWNERNAME = Common.CurrentLoginUserInfo.EmployeeName; }
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 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)); } }
/// <summary> /// 添加与会人员通知 /// </summary> void AddStaffMessage() { string StrTitle = txtMessageTitle.Text.ToString(); //string StrContent = txtMessageContent.Text.ToString(); string StrTel = txtMessageTel.Text.ToString(); MessageObj = new T_OA_MEETINGMESSAGE(); MessageObj.MEETINGMESSAGEID = System.Guid.NewGuid().ToString(); MessageObj.T_OA_MEETINGINFO = tmpMeetingInfo;// new T_OA_MEETINGINFO();// tmpMeetingInfo; //MessageObj.T_OA_MEETINGINFO.MEETINGINFOID = tmpMeetingInfo.MEETINGINFOID; MessageObj.TITLE = StrTitle; //MessageObj.CONTENT = StrContent; MessageObj.CONTENT = txtMessageContent.RichTextBoxContext; MessageObj.TEL = StrTel; MessageObj.CREATEDATE = System.DateTime.Now; MessageObj.CREATECOMPANYID = Common.CurrentLoginUserInfo.UserPosts[0].CompanyID; MessageObj.CREATEUSERNAME = Common.CurrentLoginUserInfo.EmployeeName; MessageObj.CREATEUSERID = Common.CurrentLoginUserInfo.EmployeeID; MessageObj.CREATEDEPARTMENTID = Common.CurrentLoginUserInfo.UserPosts[0].DepartmentID; MessageObj.CREATEPOSTID = Common.CurrentLoginUserInfo.UserPosts[0].PostID; MessageObj.OWNERCOMPANYID = Common.CurrentLoginUserInfo.UserPosts[0].CompanyID; MessageObj.OWNERDEPARTMENTID = Common.CurrentLoginUserInfo.UserPosts[0].DepartmentID; MessageObj.OWNERPOSTID = Common.CurrentLoginUserInfo.UserPosts[0].PostID; MessageObj.OWNERID = Common.CurrentLoginUserInfo.EmployeeID; MessageObj.OWNERNAME = Common.CurrentLoginUserInfo.EmployeeName; }
public int UpdateMeetingNoticeInfo(T_OA_MEETINGINFO info, T_OA_MEETINGMESSAGE message) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { return MeetingInfoBLL.UpdateMeetingNoticeInfo(info, message); } }
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 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 void senddoctab_SelectionChanged(object sender, SelectionChangedEventArgs e) { TabControl TabC = sender as TabControl; if (TabC.SelectedIndex == 1) { string StrTitle = tmpvmeeting.meetinginfo.MEETINGTITLE; if (!string.IsNullOrEmpty(StrTitle)) { this.txtMessageTitle.Text = StrTitle + Utility.GetResourceStr("MEETINGCHANGENOTICES"); ; String MeetingRoom = tmpvmeeting.meetinginfo.T_OA_MEETINGROOM.MEETINGROOMNAME; ; string StrStartDt = ""; string StrStartTime = ""; string StrEndDt = ""; string StrEndTime = ""; StrStartDt = this.DPStart.Text.ToString(); StrEndDt = this.DPEnd.Text.ToString(); StrStartTime = tpStartTime.Value.Value.ToString("HH:mm"); StrEndTime = tpEndTime.Value.Value.ToString("HH:mm"); DateTime DtStart = System.Convert.ToDateTime(StrStartDt + " " + StrStartTime); DateTime DtEnd = System.Convert.ToDateTime(StrEndDt + " " + StrEndTime); T_OA_MEETINGMESSAGE aa = new T_OA_MEETINGMESSAGE(); if (!string.IsNullOrEmpty(MeetingRoom) && (DtStart < DtEnd)) { txtMessageContent.RichTextBoxContext = this.TransDate(Convert.ToDateTime(tmpvmeeting.meetinginfo.STARTTIME), Convert.ToDateTime(tmpvmeeting.meetinginfo.ENDTIME), DtStart, DtEnd, MeetingRoom, StrTitle); } } } }