|
|
@@ -1,6 +1,5 @@
|
|
|
package com.usoftchina.uas.office.dingtalk.task;
|
|
|
|
|
|
-import com.usoftchina.uas.office.dingtalk.service.UasEmployeeService;
|
|
|
import com.usoftchina.uas.office.dingtalk.service.UasOaService;
|
|
|
import com.usoftchina.uas.office.entity.DataCenter;
|
|
|
import com.usoftchina.uas.office.jdbc.DataSourceHolder;
|
|
|
@@ -25,7 +24,7 @@ public class DingOaTask {
|
|
|
/**
|
|
|
* 推送流程审批
|
|
|
*/
|
|
|
- @Scheduled(cron = "* * 0/1 * * ? ")
|
|
|
+ @Scheduled(cron = "0 0 0/1 * * ? ")
|
|
|
public void sendJprocess() {
|
|
|
DataCenter dataCenter = DataCenter.INSTANCE;
|
|
|
if (null != dataCenter.getUsername() && null != dataCenter.getPassword() && null != dataCenter.getUrl()) {
|