|
@@ -69,6 +69,9 @@ public class HomeRefactorService {
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private ActivityFeedbackService activityFeedbackService;
|
|
private ActivityFeedbackService activityFeedbackService;
|
|
|
|
|
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private ActivityRegistrationService activityRegistrationService;
|
|
|
|
|
+
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private DepartmentService departmentService;
|
|
private DepartmentService departmentService;
|
|
|
|
|
|
|
@@ -217,6 +220,8 @@ public class HomeRefactorService {
|
|
|
FileDown fileDown = new FileDown(attachments.get(0).getId(), attachments.get(0).getFile_name(), attachments.get(0).getFile_url(), attachments.get(0).getDownload_uri());
|
|
FileDown fileDown = new FileDown(attachments.get(0).getId(), attachments.get(0).getFile_name(), attachments.get(0).getFile_url(), attachments.get(0).getDownload_uri());
|
|
|
activity.setFileDown(fileDown);
|
|
activity.setFileDown(fileDown);
|
|
|
}
|
|
}
|
|
|
|
|
+ //报名人数
|
|
|
|
|
+ activity.setSgin_number(activityRegistrationService.getActivityRegistrationNumber(activity.getId()));
|
|
|
//活动回顾
|
|
//活动回顾
|
|
|
ActivityReview review = activityReviewService.findByActivityId(id);
|
|
ActivityReview review = activityReviewService.findByActivityId(id);
|
|
|
if (review != null) {
|
|
if (review != null) {
|