|
@@ -237,11 +237,8 @@ public class WbsTreeSynchronousRecordServiceImpl extends ServiceImpl<WbsTreeSync
|
|
|
*/
|
|
|
@Scheduled(fixedDelay = 10000)
|
|
|
public void syncInit() {
|
|
|
-// if(SystemUtils.isWindows()){
|
|
|
-// return;
|
|
|
-// }
|
|
|
- // 本地环境跳过执行(可添加日志输出)
|
|
|
-// if (!schedulerEnabled) return;
|
|
|
+// 本地环境跳过执行(可添加日志输出)
|
|
|
+ if (!schedulerEnabled) return;
|
|
|
|
|
|
List<WbsTreeSynchronousRecord> wbsTreeSynchronousRecords = baseMapper.selectList(new QueryWrapper<WbsTreeSynchronousRecord>().lambda()
|
|
|
.in(WbsTreeSynchronousRecord::getStatus, 0, 1)
|