|
@@ -88,6 +88,7 @@ public class PrintingProjectStatisticServiceImpl implements PrintingProjectStati
|
|
|
//目前限定仅一个刷新任务可执行
|
|
|
RefreshInfo.projectRefreshing = true;
|
|
|
try {
|
|
|
+ Check.isTrue(true, "AAA!");
|
|
|
//刷新课程统计
|
|
|
courseStatisticService.refreshCourseStatistic(new CourseStatisticRefreshReq(orgId, examId));
|
|
|
//执行项目统计
|
|
@@ -96,8 +97,10 @@ public class PrintingProjectStatisticServiceImpl implements PrintingProjectStati
|
|
|
throw e;//状态异常则直接抛出
|
|
|
} catch (Exception e) {
|
|
|
log.error(e.getMessage(), e);
|
|
|
+ } finally {
|
|
|
+ RefreshInfo.projectRefreshing = false;
|
|
|
+ log.debug("refreshPrintingProjectStatistic finished...");
|
|
|
}
|
|
|
- RefreshInfo.projectRefreshing = false;
|
|
|
}
|
|
|
|
|
|
@Override
|