|
@@ -61,7 +61,7 @@ public class DingTalkScheduledTask {
|
|
* 每个小时定期更新出差申请数据
|
|
* 每个小时定期更新出差申请数据
|
|
* 出差申请信息暂时不进行更新
|
|
* 出差申请信息暂时不进行更新
|
|
*/
|
|
*/
|
|
-// @Scheduled(fixedDelay = 3600000L,initialDelay = 10000L)
|
|
|
|
|
|
+ @Scheduled(fixedDelay = 3600000L,initialDelay = 10000L)
|
|
void updateBusinessTripProcessInstanceIdList() throws ApiException {
|
|
void updateBusinessTripProcessInstanceIdList() throws ApiException {
|
|
updateProcessInstanceIdList(DingTalkConstant.PROCESS_CODE_BUSINESS_TRIP);
|
|
updateProcessInstanceIdList(DingTalkConstant.PROCESS_CODE_BUSINESS_TRIP);
|
|
}
|
|
}
|
|
@@ -72,7 +72,7 @@ public class DingTalkScheduledTask {
|
|
* 每小时根据出差申请Id跟新出差申请信息。
|
|
* 每小时根据出差申请Id跟新出差申请信息。
|
|
* 出差申请信息暂时不进行更新
|
|
* 出差申请信息暂时不进行更新
|
|
*/
|
|
*/
|
|
-// @Scheduled(fixedDelay = 3600000L,initialDelay = 10000L)
|
|
|
|
|
|
+ @Scheduled(fixedDelay = 3600000L,initialDelay = 10000L)
|
|
void updateProcessInstanceList() throws ApiException {
|
|
void updateProcessInstanceList() throws ApiException {
|
|
updateChuanyunAskForLeave(DingTalkConstant.PROCESS_CODE_ASKFORLEAVE);
|
|
updateChuanyunAskForLeave(DingTalkConstant.PROCESS_CODE_ASKFORLEAVE);
|
|
}
|
|
}
|