Example #1
0
 public int MeetingInfoUpdate(T_OA_MEETINGINFO obj)
 {
     using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll())
     {
         return(MeetingInfoBLL.UpdateMeetingInfo(obj));
     }
 }
Example #2
0
 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));
     }
 }
Example #3
0
        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);
            }
        }
Example #4
0
        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;
            }
        }
Example #5
0
 public int MeetingInfoUpdate(T_OA_MEETINGINFO obj)
 {
     using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll())
     {
         return MeetingInfoBLL.UpdateMeetingInfo(obj);
     }
     
 }
Example #6
0
 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);
     }
 }