添加执行开始时间参数
This commit is contained in:
parent
a0d7ffcf8e
commit
2f004ee9c2
@ -45,10 +45,10 @@ public class AutoBuckle implements Job {
|
||||
ca.setInputorgid("system");
|
||||
ca.batchCollectManage(tx);
|
||||
}
|
||||
QuartzUtil.insertLog("com.tenwa.lease.app.quartzmession.AutoBuckle", "success", "成功");
|
||||
QuartzUtil.insertLog(plan_date,"com.tenwa.lease.app.quartzmession.AutoBuckle", "success", "成功");
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
QuartzUtil.insertLog("com.tenwa.lease.app.quartzmession.AutoBuckle", "error", "失败");
|
||||
QuartzUtil.insertLog(plan_date,"com.tenwa.lease.app.quartzmession.AutoBuckle", "error", "失败");
|
||||
}finally{
|
||||
try {
|
||||
tx.commit();
|
||||
|
||||
@ -39,10 +39,10 @@ public class AutoRefresh implements Job{
|
||||
ca.setInputorgid("system");
|
||||
ca.queryBatchCollectStatus(tx);
|
||||
}
|
||||
QuartzUtil.insertLog("com.tenwa.lease.app.quartzmession.AutoRefresh", "success", "成功");
|
||||
QuartzUtil.insertLog(plan_date,"com.tenwa.lease.app.quartzmession.AutoRefresh", "success", "成功");
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
QuartzUtil.insertLog("com.tenwa.lease.app.quartzmession.AutoRefresh", "error", "失败");
|
||||
QuartzUtil.insertLog(plan_date,"com.tenwa.lease.app.quartzmession.AutoRefresh", "error", "失败");
|
||||
}finally{
|
||||
try {
|
||||
tx.commit();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user