取消定时同步,手动同步加入白名单
This commit is contained in:
@@ -23,8 +23,9 @@ public class ScheduledSync {
|
||||
private IDataSyncService iDataSyncService;
|
||||
|
||||
|
||||
@Scheduled(cron = "0 */40 * * * ?") //40分钟执行同步一次
|
||||
// @Scheduled(cron = "0 */40 * * * ?") //40分钟执行同步一次
|
||||
// @Scheduled(cron="*/5 * * * * ?")
|
||||
|
||||
@Async
|
||||
public void syncSchedulingTasks() throws Exception {
|
||||
iDataSyncService.orgDataSync(); //时间短
|
||||
|
||||
@@ -33,7 +33,7 @@ import java.util.*;
|
||||
|
||||
@RestController
|
||||
@Api(description = "|SarStandPutTime|")
|
||||
@RequestMapping("/DataSync")
|
||||
@RequestMapping("/${restPath}/DataSync")
|
||||
public class DataSyncController {
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user