|
@@ -229,7 +229,7 @@ public class WbsTreeSynchronousRecordServiceImpl extends ServiceImpl<WbsTreeSync
|
|
|
* 同步节点表单
|
|
|
* 定时检查同步任务,状态为1的数据如果最后更新时间与当前时间超过10分钟,则修改状态为1
|
|
|
*/
|
|
|
- //@Scheduled(fixedDelay = 10000)
|
|
|
+ @Scheduled(fixedDelay = 10000)
|
|
|
public void syncInit() {
|
|
|
List<WbsTreeSynchronousRecord> wbsTreeSynchronousRecords = baseMapper.selectList(new QueryWrapper<WbsTreeSynchronousRecord>().lambda()
|
|
|
.in(WbsTreeSynchronousRecord::getStatus, 0, 1)
|