|
@@ -234,7 +234,7 @@ public class WbsTreeSynchronousRecordServiceImpl extends ServiceImpl<WbsTreeSync
|
|
* 同步节点表单
|
|
* 同步节点表单
|
|
* 定时检查同步任务,状态为1的数据如果最后更新时间与当前时间超过10分钟,则修改状态为1
|
|
* 定时检查同步任务,状态为1的数据如果最后更新时间与当前时间超过10分钟,则修改状态为1
|
|
*/
|
|
*/
|
|
- //@Scheduled(fixedDelay = 10000)
|
|
|
|
|
|
+ @Scheduled(fixedDelay = 10000)
|
|
public void syncInit() {
|
|
public void syncInit() {
|
|
// 本地环境跳过执行(可添加日志输出)
|
|
// 本地环境跳过执行(可添加日志输出)
|
|
if (!schedulerEnabled) return;
|
|
if (!schedulerEnabled) return;
|