|
@@ -89,6 +89,7 @@ public class ExportController extends BaseController {
|
|
|
@PostMapping("export/queryTeacherAttendances")
|
|
|
@PreAuthorize("@pcs.hasPermissions('export/queryTeacherAttendances')")
|
|
|
public void exportTeacherAttendances(HttpServletResponse response, TeacherCloseQueryInfo queryInfo) throws IOException {
|
|
|
+ queryInfo.setPage(1);
|
|
|
queryInfo.setRows(49999);
|
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
if (sysUser == null) {
|
|
@@ -138,6 +139,7 @@ public class ExportController extends BaseController {
|
|
|
@PostMapping("export/teacherSalaryComplaints")
|
|
|
@PreAuthorize("@pcs.hasPermissions('export/teacherSalaryComplaints')")
|
|
|
public void exportTeacherSalaryComplaints(HttpServletResponse response, TeacherSalaryModifyQueryInfo queryInfo) throws IOException {
|
|
|
+ queryInfo.setPage(1);
|
|
|
queryInfo.setRows(49999);
|
|
|
List<TeacherSalaryComplaints> rows = teacherSalaryComplaintsService.queryPage(queryInfo).getRows();
|
|
|
OutputStream outputStream = response.getOutputStream();
|
|
@@ -169,6 +171,7 @@ public class ExportController extends BaseController {
|
|
|
@PostMapping("export/studentBuyPractice")
|
|
|
@PreAuthorize("@pcs.hasPermissions('export/studentBuyPractice')")
|
|
|
public void studentBuyPractice(HttpServletResponse response, StudentBuyPracticeQueryInfo queryInfo) throws IOException {
|
|
|
+ queryInfo.setPage(1);
|
|
|
queryInfo.setRows(49999);
|
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
if (sysUser == null) {
|
|
@@ -217,6 +220,7 @@ public class ExportController extends BaseController {
|
|
|
@PostMapping("export/tenantPaymentOrder")
|
|
|
@PreAuthorize("@pcs.hasPermissions('export/tenantPaymentOrder')")
|
|
|
public void tenantPaymentOrder(HttpServletResponse response, TenantPaymentOrderQueryInfo queryInfo) throws IOException {
|
|
|
+ queryInfo.setPage(1);
|
|
|
queryInfo.setRows(49999);
|
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
if (sysUser == null) {
|
|
@@ -251,7 +255,8 @@ public class ExportController extends BaseController {
|
|
|
@PostMapping("export/teacherSalary")
|
|
|
@PreAuthorize("@pcs.hasPermissions('export/teacherSalary')")
|
|
|
public void teacherSalary(HttpServletResponse response, ExportTeacherSalaryQueryInfo queryInfo) throws IOException {
|
|
|
- queryInfo.setRows(99999);
|
|
|
+ queryInfo.setPage(1);
|
|
|
+ queryInfo.setRows(49999);
|
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
if (sysUser == null) {
|
|
|
throw new BizException("用户信息获取失败");
|
|
@@ -292,7 +297,8 @@ public class ExportController extends BaseController {
|
|
|
@PostMapping("export/teacherCourseReward")
|
|
|
@PreAuthorize("@pcs.hasPermissions('export/teacherCourseReward')")
|
|
|
public void teacherCourseReward(HttpServletResponse response, TeacherCourseRewardQueryInfo queryInfo) throws IOException {
|
|
|
- queryInfo.setRows(99999);
|
|
|
+ queryInfo.setPage(1);
|
|
|
+ queryInfo.setRows(49999);
|
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
if (sysUser == null) {
|
|
|
throw new BizException("用户信息获取失败");
|
|
@@ -344,7 +350,8 @@ public class ExportController extends BaseController {
|
|
|
@PostMapping("export/studentHasCourse")
|
|
|
@PreAuthorize("@pcs.hasPermissions('export/studentHasCourse')")
|
|
|
public void studentHasCourse(HttpServletResponse response, StudentManageQueryInfo queryInfo) throws IOException {
|
|
|
- queryInfo.setRows(99999);
|
|
|
+ queryInfo.setPage(1);
|
|
|
+ queryInfo.setRows(49999);
|
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
if (sysUser == null) {
|
|
|
throw new BizException("用户信息获取失败");
|
|
@@ -397,7 +404,8 @@ public class ExportController extends BaseController {
|
|
|
@PreAuthorize("@pcs.hasPermissions('export/practiceGroupList')")
|
|
|
public void queryAll(HttpServletResponse response, PracticeGroupQueryInfo queryInfo) throws IOException {
|
|
|
queryInfo.setIsExport(true);
|
|
|
- queryInfo.setRows(999999999);
|
|
|
+ queryInfo.setPage(1);
|
|
|
+ queryInfo.setRows(49999);
|
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
if (sysUser == null) {
|
|
|
throw new BizException("用户信息获取失败");
|
|
@@ -450,7 +458,8 @@ public class ExportController extends BaseController {
|
|
|
@GetMapping("export/vipGroupList")
|
|
|
@PreAuthorize("@pcs.hasPermissions('export/vipGroupList')")
|
|
|
public void queryAll(HttpServletResponse response, VipGroupQueryInfo queryInfo) throws IOException {
|
|
|
- queryInfo.setRows(999999999);
|
|
|
+ queryInfo.setPage(1);
|
|
|
+ queryInfo.setRows(49999);
|
|
|
queryInfo.setIsExport(true);
|
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
if (sysUser == null) {
|
|
@@ -505,7 +514,8 @@ public class ExportController extends BaseController {
|
|
|
@GetMapping("export/superFindCourseSchedules")
|
|
|
@PreAuthorize("@pcs.hasPermissions('export/superFindCourseSchedules')")
|
|
|
public void superFindCourseSchedules(EndCourseScheduleQueryInfo queryInfo, HttpServletResponse response) throws IOException {
|
|
|
- queryInfo.setRows(999999999);
|
|
|
+ queryInfo.setPage(1);
|
|
|
+ queryInfo.setRows(49999);
|
|
|
queryInfo.setIsExport(true);
|
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
if (sysUser == null) {
|
|
@@ -555,7 +565,8 @@ public class ExportController extends BaseController {
|
|
|
@GetMapping("export/sporadicChargeInfo")
|
|
|
@PreAuthorize("@pcs.hasPermissions('export/sporadicChargeInfo')")
|
|
|
public void queryPage(SporadicChargeInfoQueryInfo queryInfo, HttpServletResponse response) throws IOException {
|
|
|
- queryInfo.setRows(999999999);
|
|
|
+ queryInfo.setPage(1);
|
|
|
+ queryInfo.setRows(49999);
|
|
|
queryInfo.setIsExport(true);
|
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
if (sysUser == null) {
|
|
@@ -668,6 +679,8 @@ public class ExportController extends BaseController {
|
|
|
@PostMapping(value = "studentRegistration/queryStudentApplyDetailExport")
|
|
|
@PreAuthorize("@pcs.hasPermissions('studentRegistration/queryStudentApplyDetailExport')")
|
|
|
public void queryStudentApplyDetailExport(StudentRegistrationQueryInfo queryInfo, HttpServletResponse response) throws IOException {
|
|
|
+ queryInfo.setPage(1);
|
|
|
+ queryInfo.setRows(49999);
|
|
|
queryInfo.setIsExport(true);
|
|
|
List<StudentApplyDetailDto> studentApplyDetail = studentRegistrationService.queryStudentDetailPage(queryInfo).getRows();
|
|
|
OutputStream outputStream = response.getOutputStream();
|
|
@@ -697,6 +710,8 @@ public class ExportController extends BaseController {
|
|
|
@RequestMapping("courseScheduleTeacherSalary/export")
|
|
|
@PreAuthorize("@pcs.hasPermissions('courseScheduleTeacherSalary/export')")
|
|
|
public void export(CourseScheduleTeacherSalaryQueryInfo queryInfo, HttpServletResponse response) throws IOException {
|
|
|
+ queryInfo.setPage(1);
|
|
|
+ queryInfo.setRows(49999);
|
|
|
queryInfo.setIsExport(true);
|
|
|
List<TeacherSalaryDto> teacherSalaries = courseScheduleTeacherSalaryService.querySalaries(queryInfo).getRows();
|
|
|
OutputStream outputStream = response.getOutputStream();
|
|
@@ -735,7 +750,8 @@ public class ExportController extends BaseController {
|
|
|
queryInfo.setOrganId(employee.getOrganIdList());
|
|
|
}
|
|
|
}
|
|
|
- queryInfo.setRows(999999999);
|
|
|
+ queryInfo.setPage(1);
|
|
|
+ queryInfo.setRows(49999);
|
|
|
queryInfo.setIsExport(true);
|
|
|
Map<String, Object> params = new HashMap<String, Object>();
|
|
|
MapUtil.populateMap(params, queryInfo);
|
|
@@ -890,7 +906,8 @@ public class ExportController extends BaseController {
|
|
|
@PreAuthorize("@pcs.hasPermissions('export/musicGroupStudent')")
|
|
|
public void queryMusicGroupStudent(MusicGroupStudentQueryInfo queryInfo, HttpServletResponse response) throws IOException {
|
|
|
queryInfo.setIsExport(true);
|
|
|
- queryInfo.setRows(99999);
|
|
|
+ queryInfo.setPage(1);
|
|
|
+ queryInfo.setRows(49999);
|
|
|
PageInfo<MusicGroupStudentsDto> musicGroupStudentsDtoPageInfo = studentManageService.queryMusicGroupStudent(queryInfo);
|
|
|
OutputStream outputStream = response.getOutputStream();
|
|
|
try {
|
|
@@ -964,7 +981,8 @@ public class ExportController extends BaseController {
|
|
|
queryInfo.setOrganId(employee.getOrganIdList());
|
|
|
}
|
|
|
queryInfo.setIsExport(1);
|
|
|
- queryInfo.setRows(99999);
|
|
|
+ queryInfo.setPage(1);
|
|
|
+ queryInfo.setRows(49999);
|
|
|
PageInfo<CourseReviewDto> practiceGroupReviews = courseReviewService.findPracticeGroupReviews(queryInfo);
|
|
|
if (practiceGroupReviews.getTotal() <= 0) {
|
|
|
response.setStatus(500);
|
|
@@ -1189,7 +1207,8 @@ public class ExportController extends BaseController {
|
|
|
@GetMapping("export/extraExercisesReplys")
|
|
|
@PreAuthorize("@pcs.hasPermissions('export/extraExercisesReplys')")
|
|
|
public void extraExercisesReplys(ExtraExercilseReplyQueryInfo queryInfo, HttpServletResponse response) throws IOException {
|
|
|
- queryInfo.setRows(999999999);
|
|
|
+ queryInfo.setPage(1);
|
|
|
+ queryInfo.setRows(49999);
|
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
if (sysUser == null) {
|
|
|
throw new BizException("用户信息获取失败");
|
|
@@ -1249,7 +1268,8 @@ public class ExportController extends BaseController {
|
|
|
@GetMapping("export/exercisesSituations")
|
|
|
@PreAuthorize("@pcs.hasPermissions('export/exercisesSituations')")
|
|
|
public void exercisesSituations(StudentExercisesSituationQueryInfo queryInfo, HttpServletResponse response) throws IOException {
|
|
|
- queryInfo.setRows(999999999);
|
|
|
+ queryInfo.setPage(1);
|
|
|
+ queryInfo.setRows(49999);
|
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
if (sysUser == null) {
|
|
|
throw new BizException("用户信息获取失败");
|
|
@@ -1303,7 +1323,8 @@ public class ExportController extends BaseController {
|
|
|
@GetMapping("export/isSettlementCourseSalarys")
|
|
|
@PreAuthorize("@pcs.hasPermissions('export/isSettlementCourseSalarys')")
|
|
|
public void isSettlementCourseSalarys(CourseSalaryQueryInfo4Web queryInfo, HttpServletResponse response) throws IOException {
|
|
|
- queryInfo.setRows(999999999);
|
|
|
+ queryInfo.setPage(1);
|
|
|
+ queryInfo.setRows(49999);
|
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
if (sysUser == null) {
|
|
|
throw new BizException("用户信息获取失败");
|
|
@@ -1381,7 +1402,8 @@ public class ExportController extends BaseController {
|
|
|
@GetMapping("export/operatingStudents")
|
|
|
@PreAuthorize("@pcs.hasPermissions('export/operatingStudents')")
|
|
|
public void operatingStudents(StudentOperatingQueryInfo queryInfo, HttpServletResponse response) {
|
|
|
- queryInfo.setRows(999999);
|
|
|
+ queryInfo.setPage(1);
|
|
|
+ queryInfo.setRows(49999);
|
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
|
if (sysUser == null) {
|
|
|
throw new BizException("用户信息获取失败");
|
|
@@ -1466,7 +1488,8 @@ public class ExportController extends BaseController {
|
|
|
queryInfo.setOrganId(employee.getOrganIdList());
|
|
|
}
|
|
|
queryInfo.setIsExport(1);
|
|
|
- queryInfo.setRows(99999);
|
|
|
+ queryInfo.setPage(1);
|
|
|
+ queryInfo.setRows(49999);
|
|
|
PageInfo<CourseReviewDto> practiceGroupReviews = courseReviewService.getVipCourseReviews(queryInfo);
|
|
|
if (practiceGroupReviews.getTotal() <= 0) {
|
|
|
response.setStatus(500);
|