Ejemplo n.º 1
0
 public string MeetingTimeChangeAdd(T_OA_MEETINGTIMECHANGE obj)
 {
     using (MeetingInfoTimeChangeManagementBll MeetingInfoTimeClient = new MeetingInfoTimeChangeManagementBll())
     {
         return(MeetingInfoTimeClient.AddMeetingInfoTimeChangeInfo(obj));;
     }
 }
Ejemplo n.º 2
0
        void MeetingInfoClient_MeetingInfoUpdateCompleted(object sender, MeetingInfoUpdateCompletedEventArgs e)
        {
            if (!e.Cancelled)
            {
                T_OA_MEETINGTIMECHANGE MeetingTimeT = new T_OA_MEETINGTIMECHANGE();
                MeetingTimeT.MEETINGTIMECHANGEID = System.Guid.NewGuid().ToString();
                //MeetingTimeT.T_OA_MEETINGINFO = tmpMeetintInfoT;
                //MeetingTimeT.T_OA_MEETINGINFO.MEETINGINFOID = tmpMeetintInfoT.MEETINGINFOID;
                MeetingTimeT.MEETINGINFOID = tmpMeetintInfoT.MEETINGINFOID;

                MeetingTimeT.STARTTIME = Convert.ToDateTime(tmpMeetintInfoT.STARTTIME);
                MeetingTimeT.ENDTIME   = Convert.ToDateTime(tmpMeetintInfoT.ENDTIME);
                MeetingTimeT.REASON    = this.txtResult.Text.Trim().ToString();

                MeetingTimeT.CREATEDATE         = Convert.ToDateTime(tmpMeetintInfoT.CREATEDATE);
                MeetingTimeT.CREATEUSERID       = tmpMeetintInfoT.CREATEUSERID;
                MeetingTimeT.CREATECOMPANYID    = tmpMeetintInfoT.CREATECOMPANYID;
                MeetingTimeT.CREATEDEPARTMENTID = tmpMeetintInfoT.CREATECOMPANYID;
                MeetingTimeT.CREATEPOSTID       = tmpMeetintInfoT.CREATEPOSTID;
                MeetingTimeT.CREATEUSERNAME     = tmpMeetintInfoT.CREATEUSERNAME;

                MeetingTimeT.UPDATEDATE     = tmpMeetintInfoT.UPDATEDATE;
                MeetingTimeT.UPDATEUSERID   = tmpMeetintInfoT.UPDATEUSERID;
                MeetingTimeT.UPDATEUSERNAME = tmpMeetintInfoT.UPDATEUSERNAME;

                MeetingTimeT.OWNERCOMPANYID    = Common.CurrentLoginUserInfo.UserPosts[0].CompanyID;
                MeetingTimeT.OWNERDEPARTMENTID = Common.CurrentLoginUserInfo.UserPosts[0].DepartmentID;
                MeetingTimeT.OWNERID           = Common.CurrentLoginUserInfo.EmployeeID;
                MeetingTimeT.OWNERNAME         = Common.CurrentLoginUserInfo.EmployeeName;
                MeetingTimeT.OWNERPOSTID       = Common.CurrentLoginUserInfo.UserPosts[0].PostID;

                MeetingClient.MeetingTimeChangeAddCompleted += new EventHandler <MeetingTimeChangeAddCompletedEventArgs>(MeetingTimeClient_MeetingTimeChangeAddCompleted);
                MeetingClient.MeetingTimeChangeAddAsync(MeetingTimeT);
            }
        }
Ejemplo n.º 3
0
        void MeetingInfoClient_MeetingInfoUpdateCompleted(object sender, MeetingInfoUpdateCompletedEventArgs e)
        {
            if (!e.Cancelled)
            {
                //MeetingTimeChangeManagementServiceClient MeetingTimeClient = new MeetingTimeChangeManagementServiceClient();
                T_OA_MEETINGTIMECHANGE MeetingTimeT = new T_OA_MEETINGTIMECHANGE();
                MeetingTimeT.MEETINGTIMECHANGEID = System.Guid.NewGuid().ToString();
                //MeetingTimeT.MEETINGINFOID = tmpMeetintInfoT.MEETINGINFOID;
                MeetingTimeT.STARTTIME    = Convert.ToDateTime(tmpMeetintInfoT.STARTTIME);
                MeetingTimeT.ENDTIME      = Convert.ToDateTime(tmpMeetintInfoT.ENDTIME);
                MeetingTimeT.CREATEDATE   = Convert.ToDateTime(tmpMeetintInfoT.CREATEDATE);
                MeetingTimeT.CREATEUSERID = tmpMeetintInfoT.CREATEUSERID;
                MeetingTimeT.UPDATEDATE   = tmpMeetintInfoT.UPDATEDATE;
                MeetingTimeT.UPDATEUSERID = tmpMeetintInfoT.UPDATEUSERID;
                MeetingTimeT.REASON       = this.txtResult.Text.Trim().ToString();

                MeetingClient.MeetingTimeChangeAddCompleted += new EventHandler <MeetingTimeChangeAddCompletedEventArgs>(MeetingTimeClient_MeetingTimeChangeAddCompleted);
                MeetingClient.MeetingTimeChangeAddAsync(MeetingTimeT);
            }
        }
Ejemplo n.º 4
0
 public string MeetingTimeChangeAdd(T_OA_MEETINGTIMECHANGE obj)
 {
     using (MeetingInfoTimeChangeManagementBll MeetingInfoTimeClient = new MeetingInfoTimeChangeManagementBll())
     {
         return MeetingInfoTimeClient.AddMeetingInfoTimeChangeInfo(obj); ;
     }
     
 }
Ejemplo n.º 5
0
        void MeetingInfoClient_MeetingInfoUpdateCompleted(object sender, MeetingInfoUpdateCompletedEventArgs e)
        {
            if (!e.Cancelled)
            {

                T_OA_MEETINGTIMECHANGE MeetingTimeT = new T_OA_MEETINGTIMECHANGE();
                MeetingTimeT.MEETINGTIMECHANGEID = System.Guid.NewGuid().ToString();
                //MeetingTimeT.T_OA_MEETINGINFO = tmpMeetintInfoT;
                //MeetingTimeT.T_OA_MEETINGINFO.MEETINGINFOID = tmpMeetintInfoT.MEETINGINFOID;
                MeetingTimeT.MEETINGINFOID = tmpMeetintInfoT.MEETINGINFOID;

                MeetingTimeT.STARTTIME = Convert.ToDateTime(tmpMeetintInfoT.STARTTIME);
                MeetingTimeT.ENDTIME = Convert.ToDateTime(tmpMeetintInfoT.ENDTIME);
                MeetingTimeT.REASON = this.txtResult.Text.Trim().ToString();

                MeetingTimeT.CREATEDATE = Convert.ToDateTime(tmpMeetintInfoT.CREATEDATE);
                MeetingTimeT.CREATEUSERID = tmpMeetintInfoT.CREATEUSERID;
                MeetingTimeT.CREATECOMPANYID = tmpMeetintInfoT.CREATECOMPANYID;
                MeetingTimeT.CREATEDEPARTMENTID = tmpMeetintInfoT.CREATECOMPANYID;
                MeetingTimeT.CREATEPOSTID = tmpMeetintInfoT.CREATEPOSTID;
                MeetingTimeT.CREATEUSERNAME = tmpMeetintInfoT.CREATEUSERNAME;

                MeetingTimeT.UPDATEDATE = tmpMeetintInfoT.UPDATEDATE;
                MeetingTimeT.UPDATEUSERID = tmpMeetintInfoT.UPDATEUSERID;
                MeetingTimeT.UPDATEUSERNAME = tmpMeetintInfoT.UPDATEUSERNAME;

                MeetingTimeT.OWNERCOMPANYID = Common.CurrentLoginUserInfo.UserPosts[0].CompanyID;
                MeetingTimeT.OWNERDEPARTMENTID = Common.CurrentLoginUserInfo.UserPosts[0].DepartmentID;
                MeetingTimeT.OWNERID = Common.CurrentLoginUserInfo.EmployeeID;
                MeetingTimeT.OWNERNAME = Common.CurrentLoginUserInfo.EmployeeName;
                MeetingTimeT.OWNERPOSTID = Common.CurrentLoginUserInfo.UserPosts[0].PostID;

                MeetingClient.MeetingTimeChangeAddCompleted += new EventHandler<MeetingTimeChangeAddCompletedEventArgs>(MeetingTimeClient_MeetingTimeChangeAddCompleted);
                MeetingClient.MeetingTimeChangeAddAsync(MeetingTimeT);
            }
        }