|
@@ -663,10 +663,20 @@ public class ExportController extends BaseController {
|
|
|
if (row.getCreateTime() != null) {
|
|
|
row.setCreateTimeStr(DateUtil.dateToString(row.getCreateTime(), "yyyy-MM-dd"));
|
|
|
}
|
|
|
+ if(row.getPronunciation() != null){
|
|
|
+ row.setPronunciationStr(row.getPronunciation()+"星");
|
|
|
+ }
|
|
|
+ if(row.getTempo() != null){
|
|
|
+ row.setTempoStr(row.getTempo()+"星");
|
|
|
+ }
|
|
|
+ if(row.getMusicTheory() != null){
|
|
|
+ row.setMusicTheoryStr(row.getMusicTheory()+"星");
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
String[] header = {"分部", "上课日期", "学生编号", "课程班名称", "老师", "教材内容", "发音", "节奏", "乐理", "曲目", "评价备注", "回访日期(布置作业)", "完成app双向沟通", "是否提交作业", "教务老师", "教务评价"};
|
|
|
- String[] body = {"organName", "classDateStr", "studentId", "courseName", "teacherName", "teachingMaterial", "pronunciation", "tempo", "musicTheory", "song", "memo", "createTimeStr", "hasLiaison", "handHomeworkStr", "eduTeacherName", "courseReview"};
|
|
|
+ String[] body = {"organName", "classDateStr", "studentId", "courseName", "teacherName", "teachingMaterial", "pronunciationStr", "tempoStr", "musicTheoryStr", "song", "memo", "createTimeStr", "hasLiaison", "handHomeworkStr", "eduTeacherName", "courseReview"};
|
|
|
HSSFWorkbook workbook = POIUtil.exportExcel(header, body, practiceGroupReviews.getRows());
|
|
|
response.setContentType("application/octet-stream");
|
|
|
response.setHeader("Content-Disposition", "attachment;filename=lender-" + DateUtil.getDate(new Date()) + ".xls");
|