|
@@ -390,13 +390,6 @@ public class ExportServiceImpl implements ExportService {
|
|
|
exportManageFuncMap.put(ExportEnum.EXPORT_BALANCED_RELATIONSHIP_STUDENT_QUIT_DETAIL, this::exportBalancedRelationshipStudentQuitDetail);
|
|
|
exportManageFuncMap.put(ExportEnum.VIDEO_PLAY_STAT, this::exportVideoPlayStat);
|
|
|
exportManageFuncMap.put(ExportEnum.VIDEO_PLAY_DETAIL_STAT, this::exportVideoPlayDetailStat);
|
|
|
- exportManageFuncMap.put(ExportEnum.EXPORT_BALANCED_RELATIONSHIP_MUSIC_NO_COURSE, this::exportBalancedRelationshipMusicNoCourse);
|
|
|
- exportManageFuncMap.put(ExportEnum.EXPORT_BALANCED_RELATIONSHIP_MUSIC_NO_COURSE_SUM, this::exportBalancedRelationshipMusicNoCourseSum);
|
|
|
- exportManageFuncMap.put(ExportEnum.EXPORT_BALANCED_RELATIONSHIP_MUSIC_NO_CLASS_NO_COURSE_SUM, this::exportBalancedRelationshipMusicNoClassNoCourseSum);
|
|
|
- exportManageFuncMap.put(ExportEnum.EXPORT_BALANCED_RELATIONSHIP_VIP_SUB_COURSE_DETAIL, this::exportBalancedRelationshipVipSubCourseDetail);
|
|
|
- exportManageFuncMap.put(ExportEnum.EXPORT_BALANCED_RELATIONSHIP_VIP_SUB_COURSE_SUM, this::exportBalancedRelationshipVipSubCourseSum);
|
|
|
- exportManageFuncMap.put(ExportEnum.EXPORT_BALANCED_RELATIONSHIP_MUSIC_COURSE_SUM, this::exportBalancedRelationshipMusicCourseSum);
|
|
|
- exportManageFuncMap.put(ExportEnum.EXPORT_BALANCED_RELATIONSHIP_CLOUD_SUM, this::exportBalancedRelationshipCloudSum);
|
|
|
}
|
|
|
|
|
|
private HttpResponseResult<String> exportVideoPlayStat(Map<String, Object> info) {
|
|
@@ -468,30 +461,10 @@ public class ExportServiceImpl implements ExportService {
|
|
|
SysUser sysUser = sysUserService.getUser();
|
|
|
String organIds = organizationService.getEmployeeOrgan(sysUser.getId(), null, sysUser.getIsSuperAdmin() && sysUser.getTenantId() == -1);
|
|
|
ManagerDownload managerDownload = saveManagerDownload(ExportTypeEnum.EXPORT_BALANCED_RELATIONSHIP_MUSIC_COURSE,sysUser.getId());
|
|
|
- return this.asyncExport(() -> this.initExportInfo(exportDao.exportBalancedRelationshipMusicCourse1(month,organIds),
|
|
|
+ return this.asyncExport(() -> this.initExportInfo(exportDao.exportBalancedRelationshipMusicCourse(month,organIds),
|
|
|
managerDownload,ExportEnum.EXPORT_BALANCED_RELATIONSHIP_MUSIC_COURSE),
|
|
|
managerDownload.getName());
|
|
|
}
|
|
|
-
|
|
|
- private HttpResponseResult<String> exportBalancedRelationshipMusicCourseSum(Map<String, Object> info){
|
|
|
- String month = getParam(info, "month", String.class);
|
|
|
- SysUser sysUser = sysUserService.getUser();
|
|
|
- String organIds = organizationService.getEmployeeOrgan(sysUser.getId(), null, sysUser.getIsSuperAdmin() && sysUser.getTenantId() == -1);
|
|
|
- ManagerDownload managerDownload = saveManagerDownload(ExportTypeEnum.EXPORT_BALANCED_RELATIONSHIP_MUSIC_COURSE_SUM,sysUser.getId());
|
|
|
- return this.asyncExport(() -> this.initExportInfo(musicGroupService.exportBalancedRelationshipMusicCourseSum(month,organIds),
|
|
|
- managerDownload,ExportEnum.EXPORT_BALANCED_RELATIONSHIP_MUSIC_COURSE_SUM),
|
|
|
- managerDownload.getName());
|
|
|
- }
|
|
|
-
|
|
|
- private HttpResponseResult<String> exportBalancedRelationshipCloudSum(Map<String, Object> info){
|
|
|
- String month = getParam(info, "month", String.class);
|
|
|
- SysUser sysUser = sysUserService.getUser();
|
|
|
- ManagerDownload managerDownload = saveManagerDownload(ExportTypeEnum.EXPORT_BALANCED_RELATIONSHIP_CLOUD_SUM,sysUser.getId());
|
|
|
- return this.asyncExport(() -> this.initExportInfo(exportDao.exportBalancedRelationshipCloudSum(month),
|
|
|
- managerDownload,ExportEnum.EXPORT_BALANCED_RELATIONSHIP_CLOUD_SUM),
|
|
|
- managerDownload.getName());
|
|
|
- }
|
|
|
-
|
|
|
private HttpResponseResult<String> exportBalancedRelationshipVipCourse(Map<String, Object> info){
|
|
|
String month = getParam(info, "month", String.class);
|
|
|
SysUser sysUser = sysUserService.getUser();
|
|
@@ -537,7 +510,6 @@ public class ExportServiceImpl implements ExportService {
|
|
|
managerDownload,ExportEnum.EXPORT_BALANCED_RELATIONSHIP_STUDENT_NORMAL_DETAIL),
|
|
|
managerDownload.getName());
|
|
|
}
|
|
|
-
|
|
|
private HttpResponseResult<String> exportBalancedRelationshipStudentQuitDetail(Map<String, Object> info){
|
|
|
String month = getParam(info, "month", String.class);
|
|
|
SysUser sysUser = sysUserService.getUser();
|
|
@@ -548,54 +520,6 @@ public class ExportServiceImpl implements ExportService {
|
|
|
managerDownload.getName());
|
|
|
}
|
|
|
|
|
|
- private HttpResponseResult<String> exportBalancedRelationshipMusicNoCourse(Map<String, Object> info){
|
|
|
- String month = getParam(info, "month", String.class);
|
|
|
- SysUser sysUser = sysUserService.getUser();
|
|
|
- String organIds = organizationService.getEmployeeOrgan(sysUser.getId(), null, sysUser.getIsSuperAdmin() && sysUser.getTenantId() == -1);
|
|
|
- ManagerDownload managerDownload = saveManagerDownload(ExportTypeEnum.EXPORT_BALANCED_RELATIONSHIP_MUSIC_NO_COURSE,sysUser.getId());
|
|
|
- return this.asyncExport(() -> this.initExportInfo(musicGroupService.exportBalancedRelationshipMusicNoCourse(month,organIds),
|
|
|
- managerDownload,ExportEnum.EXPORT_BALANCED_RELATIONSHIP_MUSIC_NO_COURSE),
|
|
|
- managerDownload.getName());
|
|
|
- }
|
|
|
-
|
|
|
- private HttpResponseResult<String> exportBalancedRelationshipMusicNoCourseSum(Map<String, Object> info){
|
|
|
- String month = getParam(info, "month", String.class);
|
|
|
- SysUser sysUser = sysUserService.getUser();
|
|
|
- String organIds = organizationService.getEmployeeOrgan(sysUser.getId(), null, sysUser.getIsSuperAdmin() && sysUser.getTenantId() == -1);
|
|
|
- ManagerDownload managerDownload = saveManagerDownload(ExportTypeEnum.EXPORT_BALANCED_RELATIONSHIP_MUSIC_NO_COURSE_SUM,sysUser.getId());
|
|
|
- return this.asyncExport(() -> this.initExportInfo(musicGroupService.exportBalancedRelationshipMusicNoCourseSum(month,organIds),
|
|
|
- managerDownload,ExportEnum.EXPORT_BALANCED_RELATIONSHIP_MUSIC_NO_COURSE_SUM),
|
|
|
- managerDownload.getName());
|
|
|
- }
|
|
|
-
|
|
|
- private HttpResponseResult<String> exportBalancedRelationshipMusicNoClassNoCourseSum(Map<String, Object> info){
|
|
|
- String month = getParam(info, "month", String.class);
|
|
|
- SysUser sysUser = sysUserService.getUser();
|
|
|
- ManagerDownload managerDownload = saveManagerDownload(ExportTypeEnum.EXPORT_BALANCED_RELATIONSHIP_MUSIC_NO_CLASS_NO_COURSE_SUM,sysUser.getId());
|
|
|
- return this.asyncExport(() -> this.initExportInfo(musicGroupService.exportBalancedRelationshipMusicNoClassNoCourseSum(month),
|
|
|
- managerDownload,ExportEnum.EXPORT_BALANCED_RELATIONSHIP_MUSIC_NO_CLASS_NO_COURSE_SUM),
|
|
|
- managerDownload.getName());
|
|
|
- }
|
|
|
-
|
|
|
- private HttpResponseResult<String> exportBalancedRelationshipVipSubCourseDetail(Map<String, Object> info){
|
|
|
- String month = getParam(info, "month", String.class);
|
|
|
- SysUser sysUser = sysUserService.getUser();
|
|
|
- String organIds = organizationService.getEmployeeOrgan(sysUser.getId(), null, sysUser.getIsSuperAdmin() && sysUser.getTenantId() == -1);
|
|
|
- ManagerDownload managerDownload = saveManagerDownload(ExportTypeEnum.EXPORT_BALANCED_RELATIONSHIP_VIP_SUB_COURSE_DETAIL,sysUser.getId());
|
|
|
- return this.asyncExport(() -> this.initExportInfo(exportDao.exportBalancedRelationshipVipSubCourseDetail(month,organIds),
|
|
|
- managerDownload,ExportEnum.EXPORT_BALANCED_RELATIONSHIP_VIP_SUB_COURSE_DETAIL),
|
|
|
- managerDownload.getName());
|
|
|
- }
|
|
|
-
|
|
|
- private HttpResponseResult<String> exportBalancedRelationshipVipSubCourseSum(Map<String, Object> info){
|
|
|
- String month = getParam(info, "month", String.class);
|
|
|
- SysUser sysUser = sysUserService.getUser();
|
|
|
- ManagerDownload managerDownload = saveManagerDownload(ExportTypeEnum.EXPORT_BALANCED_RELATIONSHIP_VIP_SUB_COURSE_SUM,sysUser.getId());
|
|
|
- return this.asyncExport(() -> this.initExportInfo(exportDao.exportBalancedRelationshipVipSubCourseSum(month),
|
|
|
- managerDownload,ExportEnum.EXPORT_BALANCED_RELATIONSHIP_VIP_SUB_COURSE_SUM),
|
|
|
- managerDownload.getName());
|
|
|
- }
|
|
|
-
|
|
|
private HttpResponseResult<String> exportOperatingSummaryIncome(Map<String, Object> info) {
|
|
|
String month = getParam(info, "month", String.class);
|
|
|
Map<String, Object> params = new HashMap<>(1);
|