Example #1
0
        static void pro_Exited(ADODB ado, object sender, EventArgs e, dynamic Job)
        {
            ado.NonQueryExcute(@"update SCM.B2B_BATCHJOB set STATUS = :STATUS, LASTFINISHTIME = sysdate, PID = NULL where ID = :ID", new List<dynamic>() { new { ID = Job.ID, STATUS = JobStatus.Ready.ToString() } });

            log.Info(string.Format("JOB ID:{0} Finish", Job.ID));
        }
Example #2
0
 protected static void record_PID(ADODB ado, int ID, int PID)
 {
     ado.NonQueryExcute(@"update SCM.B2B_BATCHJOB set PID = :PID where ID = :ID", new List<dynamic>() { new { ID = ID, PID = PID } });
 }