public int MeetingInfoUpdate(T_OA_MEETINGINFO obj) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { return(MeetingInfoBLL.UpdateMeetingInfo(obj)); } }
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 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 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; } }
public int MeetingInfoUpdate(T_OA_MEETINGINFO obj) { using (MeetingManagementBll MeetingInfoBLL = new MeetingManagementBll()) { return MeetingInfoBLL.UpdateMeetingInfo(obj); } }
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); } }