|
@@ -511,16 +511,16 @@ public class IndexBaseMonthDataServiceImpl extends BaseServiceImpl<Long, IndexBa
|
|
|
try {
|
|
|
task.run();
|
|
|
} catch (Exception e) {
|
|
|
- businessLogger.error("indexBaseDataTask error:{}", e.getMessage());
|
|
|
+ businessLogger.error("indexBaseDataTask error: {}", e.getMessage());
|
|
|
}
|
|
|
}, exportExecutorService))
|
|
|
.collect(Collectors.toList());
|
|
|
|
|
|
CompletableFuture.allOf(futures.toArray(new CompletableFuture[futures.size()]))
|
|
|
- .thenRun(exportExecutorService::shutdown)
|
|
|
.join();
|
|
|
}
|
|
|
|
|
|
+
|
|
|
//学员数据
|
|
|
public void studentData(String dayStr,Integer tenantId,LocalDate nowDate){
|
|
|
saveData(indexBaseMonthDataDao.getStudentRegistrationData(dayStr,tenantId), dayStr, IndexDataType.STUDENT_REGISTRATION_NUM, tenantId);
|