|
@@ -86,7 +86,6 @@ public class ExportController extends BaseController {
|
|
|
private TeacherCourseRewardService teacherCourseRewardService;
|
|
|
@Autowired
|
|
|
private DegreeRegistrationService degreeRegistrationService;
|
|
|
-
|
|
|
@Autowired
|
|
|
private CooperationOrganService cooperationOrganService;
|
|
|
@Autowired
|
|
@@ -96,24 +95,23 @@ public class ExportController extends BaseController {
|
|
|
@Autowired
|
|
|
private StudentDao studentDao;
|
|
|
@Autowired
|
|
|
- private MusicGroupPaymentCalenderService musicGroupPaymentCalenderService;
|
|
|
-
|
|
|
+ private MusicGroupPaymentCalenderDetailService musicGroupPaymentCalenderDetailService;
|
|
|
@Autowired
|
|
|
private TeacherService teacherService;
|
|
|
|
|
|
- @ApiOperation(value = "乐团管理--修改--缴费设置导出")
|
|
|
- @PostMapping("export/musicGroupPaymentCalender")
|
|
|
- @PreAuthorize("@pcs.hasPermissions('export/musicGroupPaymentCalender')")
|
|
|
- public void exportTeacherAttendances(HttpServletResponse response, MusicCalenderQueryInfo queryInfo) throws IOException {
|
|
|
+ @ApiOperation(value = "乐团管理--修改--缴费设置--缴费记录导出")
|
|
|
+ @PostMapping("export/musicGroupPaymentCalenderDetail")
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('export/musicGroupPaymentCalenderDetail')")
|
|
|
+ public void exportTeacherAttendances(HttpServletResponse response, MusicCalenderDetailQueryInfo queryInfo) throws IOException {
|
|
|
queryInfo.setPage(1);
|
|
|
queryInfo.setRows(49999);
|
|
|
- List<MusicGroupPaymentCalender> rows = musicGroupPaymentCalenderService.queryDetailPage(queryInfo).getRows();
|
|
|
+ List<MusicGroupPaymentCalenderDetail> rows = musicGroupPaymentCalenderDetailService.queryPage(queryInfo).getRows();
|
|
|
OutputStream outputStream = response.getOutputStream();
|
|
|
try {
|
|
|
- HSSFWorkbook workbook = POIUtil.exportExcel(new String[]{"缴费开始日期", "缴费结束日期", "预计缴费人数", "实际缴费人数", "状态", "缴费状态",
|
|
|
- "备注"}, new String[]{
|
|
|
- "startPaymentDate", "deadlinePaymentDate", "expectNum", "actualNum", "type.msg", "paymentStatus.desc",
|
|
|
- "memo"}, rows);
|
|
|
+ HSSFWorkbook workbook = POIUtil.exportExcel(new String[]{"学员编号", "学员姓名", "学员声部", "学员状态", "手机号", "预计缴费金额",
|
|
|
+ "缴费开始日期","缴费截止日期","是否开启缴费","缴费状态","支付时间"}, new String[]{
|
|
|
+ "userId", "sysUser.username", "studentRegistration.subjectName", "studentRegistration.musicGroupStatus.msg", "sysUser.phone", "expectAmount",
|
|
|
+ "startPaymentDateMgpc", "deadlinePaymentDateMgpc", "openFlag.msg", "paymentStatus.desc", "payTime"}, rows);
|
|
|
response.setContentType("application/octet-stream");
|
|
|
response.setHeader("Content-Disposition", "attachment;filename=lender-" + DateUtil.getDate(new Date()) + ".xls");
|
|
|
response.flushBuffer();
|
|
@@ -488,10 +486,10 @@ public class ExportController extends BaseController {
|
|
|
});
|
|
|
}
|
|
|
try {
|
|
|
- HSSFWorkbook workbook = POIUtil.exportExcel(new String[]{"分部", "网管课编号", "课程名称", "指导老师", "教务老师", "班级人数", "先上课单价", "线下课单价",
|
|
|
+ HSSFWorkbook workbook = POIUtil.exportExcel(new String[]{ "课程组编号","课程组名称", "课程组类型","分部", "教务老师", "指导老师", "班级人数",
|
|
|
"当前课次", "总课次", "剩余课次", "开课时间", "结束时间", "课程组状态", "是否续费", "备注"}, new String[]{
|
|
|
- "organName", "id", "name", "teacherName", "educationalTeacherName", "studentNum", "onlineClassesUnitPrice",
|
|
|
- "offlineClassesUnitPrice", "currentClassTimes", "totalClassTimes", "subClassTimes", "coursesStartDate", "coursesExpireDate",
|
|
|
+ "id","name","type.msg","organName", "educationalTeacherName", "teacherName", "studentNum","currentClassTimes",
|
|
|
+ "totalClassTimes", "subClassTimes", "coursesStartDate", "coursesExpireDate",
|
|
|
"groupStatus.desc","payStatus","memo"}, rows);
|
|
|
response.setContentType("application/octet-stream");
|
|
|
response.setHeader("Content-Disposition", "attachment;filename=lender-" + DateUtil.getDate(new Date()) + ".xls");
|