|
@@ -1550,10 +1550,10 @@ public class ExportServiceImpl implements ExportService {
|
|
|
StudentCourseConsumerQueryInfo queryInfo = JSONObject.parseObject(JSONObject.toJSONString(info), StudentCourseConsumerQueryInfo.class);
|
|
|
SysUser user = sysUserService.getUser();
|
|
|
queryInfo.setOrganId(organizationService.getEmployeeOrgan(user.getId(), queryInfo.getOrganId(), user.getIsSuperAdmin()));
|
|
|
- List<CloudTeacherSumDto> dtos = studentService.cloudTeacherSum(queryInfo);
|
|
|
- checkRows(dtos);
|
|
|
+ int count = studentService.getDao().countTeacherSum(queryInfo);
|
|
|
+ checkRows(count);
|
|
|
ManagerDownload managerDownload = saveManagerDownload(ExportTypeEnum.EXPORT_CLOUD_TEACHER_SUM,user.getId());
|
|
|
- return this.asyncExport(() -> this.initExportInfo(dtos, managerDownload,ExportEnum.EXPORT_CLOUD_TEACHER_SUM),
|
|
|
+ return this.asyncExport(() -> this.initExportInfo(studentService.cloudTeacherSum(queryInfo), managerDownload,ExportEnum.EXPORT_CLOUD_TEACHER_SUM),
|
|
|
managerDownload.getName());
|
|
|
}
|
|
|
|