报销模块定时任务改为每天凌晨1点执行
This commit is contained in:
parent
f00c243080
commit
b92d13ee55
@ -81,11 +81,22 @@ public class CrmTask {
|
||||
// qualityBackController.qualityFeedBack();
|
||||
// tenderingController.syncTendering();
|
||||
// bankInfoController.syncBankInfo();
|
||||
// reimbursementController.syncReimbursement();
|
||||
// reimbursementController.syncPublicExpenses();
|
||||
// reimbursementController.syncTravelExpenses();
|
||||
// vendorController.syncVendor();
|
||||
// System.out.println("ERP数据执行完毕");
|
||||
// }
|
||||
|
||||
/**
|
||||
* 报销模块,每天0点执行
|
||||
* @return void
|
||||
* @Author weiloong_zhang
|
||||
*/
|
||||
@Scheduled(cron = "0 0 1 * * ?")
|
||||
private void deliveryReqTask() throws Exception {
|
||||
System.out.println("开始同步ERP报销数据");
|
||||
reimbursementController.syncReimbursement();
|
||||
reimbursementController.syncPublicExpenses();
|
||||
reimbursementController.syncTravelExpenses();
|
||||
System.out.println("ERP数据执行完毕");
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user