se-system/src/main/java/com/terra/system/config/ScheduleConfig.java
@@ -100,27 +100,4 @@ log.error(ex.getMessage(), ex); } } /** * 同步附件 */ @Scheduled(fixedRate = 30 * 1000) public void syncAttaches() { try { List<FmeLogEntity> list = attachService.selectFmeLogs(); if (isBusy || null == list || list.isEmpty()) { return; } isBusy = true; for (FmeLogEntity entity : list) { attachService.syncAttaches(entity); attachService.updateFmeLog(entity.getId()); } isBusy = false; } catch (Exception ex) { isBusy = false; log.error(ex.getMessage(), ex); } } }