public override void DoJob(Quartz.JobExecutionContext context) { _bll.PreDispatch(new PreDispatchJobArgModel() { IntervalDay = Consts.IntervalDay, PerBatchCount = Consts.BATCH_COUNT }); }
public void PreDispatchTest() { IPreDispatchBLL target = CreateIPreDispatchBLL(); // TODO: 初始化为适当的值 PreDispatchJobArgModel arguments = new PreDispatchJobArgModel() { PerBatchCount = 300, IntervalDay = 10 }; // TODO: 初始化为适当的值 target.PreDispatch(arguments); }