Пример #1
0
        /// <summary>
        /// 新增调度历史记录
        /// </summary>
        /// <param name="history"></param>
        public static void AddScheduleHistory(ESB_SCHD_HISTORY history)
        {
            Guid newId = Guid.NewGuid();

            history.OID = newId.ToString().ToUpper();
            schedulerDC.ESB_SCHD_HISTORY.InsertOnSubmit(history);
            schedulerDC.SubmitChanges(System.Data.Linq.ConflictMode.ContinueOnConflict);
        }
Пример #2
0
 /// <summary>
 /// 新增调度历史记录
 /// </summary>
 /// <param name="history"></param>
 public void AddScheduleHistory(ESB_SCHD_HISTORY history)
 {
     try
     {
         SchedulerDataAccess.AddScheduleHistory(history);
     }
     catch (Exception ex)
     {
         throw new Exception("新增调度历史记录 失败!" + ex.Message);
     }
 }
Пример #3
0
        private void AfterCall()
        {
            try
            {
                endTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
                SchedulerService ss = new SchedulerService();

                ESB_SCHD_HISTORY history = new ESB_SCHD_HISTORY();
                history.BEGIN_TIME  = beginTime;
                history.CALL_MEMO   = callMemo;
                history.CALL_STATUS = callStatus;
                history.END_TIME    = endTime;
                history.SCHD_ID     = schedID;

                ss.AddScheduleHistory(history);
            }
            catch (Exception ex)
            {
                _log.Error("添加作业历史记录 失败! 错误信息:" + ex.Message);
            }
        }
Пример #4
0
        public void AddScheduleHistory(ESB_SCHD_HISTORY history)
        {
            SchedulerLogic schedulerLogic = new SchedulerLogic();

            schedulerLogic.AddScheduleHistory(history);
        }
Пример #5
0
        public void AddScheduleHistory(ESB_SCHD_HISTORY history)
        {
            SchedulerLogic schedulerLogic = new SchedulerLogic();

            schedulerLogic.AddScheduleHistory(history);
        }
Пример #6
0
 /// <summary>
 /// 新增调度历史记录
 /// </summary>
 /// <param name="history"></param>
 public void AddScheduleHistory(ESB_SCHD_HISTORY history)
 {
     try
     {
         SchedulerDataAccess.AddScheduleHistory(history);
     }
     catch (Exception ex)
     {
         throw new Exception("新增调度历史记录 失败!" + ex.Message);
     }
 }
Пример #7
0
        /// <summary>
        /// 新增调度历史记录
        /// </summary>
        /// <param name="history"></param>
        public static void AddScheduleHistory(ESB_SCHD_HISTORY history)
        {
            Guid newId = Guid.NewGuid();

            history.OID = newId.ToString().ToUpper();
            schedulerDC.ESB_SCHD_HISTORY.InsertOnSubmit(history);
            schedulerDC.SubmitChanges(System.Data.Linq.ConflictMode.ContinueOnConflict);
        }