Beispiel #1
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;
            }
        }