|
@@ -169,8 +169,10 @@ public class ExportController extends BaseController {
|
|
}
|
|
}
|
|
OutputStream outputStream = response.getOutputStream();
|
|
OutputStream outputStream = response.getOutputStream();
|
|
try {
|
|
try {
|
|
- HSSFWorkbook workbook = POIUtil.exportExcel(new String[]{"学员姓名", "学员编号", "手机号", "是否预约"}, new String[]{
|
|
|
|
- "username", "userId", "phone", "isReserve == true ?'是':'否'"}, rows);
|
|
|
|
|
|
+ HSSFWorkbook workbook = POIUtil.exportExcel(new String[]{"学员姓名", "学员编号", "手机号", "是否预约","报考器乐", "器乐报考等级", "乐理报考等级", "是否购买VIP",
|
|
|
|
+ "是否购买乐理课", "支付金额"}, new String[]{
|
|
|
|
+ "username", "userId", "phone", "isReserve == true ?'是':'否'","subjectName"
|
|
|
|
+ ,"theoryLevel","gradeLeave","buyVipFlag","buyTheoryCourseFlag","totalAmount"}, rows);
|
|
response.setContentType("application/octet-stream");
|
|
response.setContentType("application/octet-stream");
|
|
response.setHeader("Content-Disposition", "attac:wq" +
|
|
response.setHeader("Content-Disposition", "attac:wq" +
|
|
"hment;filename=classGroup-" + DateUtil.getDate(new Date()) + ".xls");
|
|
"hment;filename=classGroup-" + DateUtil.getDate(new Date()) + ".xls");
|
|
@@ -221,7 +223,7 @@ public class ExportController extends BaseController {
|
|
HSSFWorkbook workbook = POIUtil.exportExcel(new String[]{"分部名称", "合作单位", "乐团名称", "在读人数",
|
|
HSSFWorkbook workbook = POIUtil.exportExcel(new String[]{"分部名称", "合作单位", "乐团名称", "在读人数",
|
|
"预约人数", "未预约人数", "器乐考级人数", "乐理考级人数", "VIP课购买人数", "VIP课成交金额", "乐理课购买人数", "乐理课成交金额"}, new String[]{
|
|
"预约人数", "未预约人数", "器乐考级人数", "乐理考级人数", "VIP课购买人数", "VIP课成交金额", "乐理课购买人数", "乐理课成交金额"}, new String[]{
|
|
"organName", "cooperationOrganName", "musicGroupName", "normalNum",
|
|
"organName", "cooperationOrganName", "musicGroupName", "normalNum",
|
|
- "reserveNum", "noReserveNum", "instrumentalMusicNum", "musicTheoryNum","buyVipNum","buyVipAmount","buyMusicTheoryNum","buyMusicTheoryAmount"}, rows);
|
|
|
|
|
|
+ "reserveNum", "noReserveNum", "instrumentalMusicNum", "musicTheoryNum","buyVip1Num","buyVip1Amount","buyVip2Num","buyVip2Amount","buyMusicTheoryNum","buyMusicTheoryAmount"}, rows);
|
|
response.setContentType("application/octet-stream");
|
|
response.setContentType("application/octet-stream");
|
|
response.setHeader("Content-Disposition", "attac:wq" +
|
|
response.setHeader("Content-Disposition", "attac:wq" +
|
|
"hment;filename=classGroup-" + DateUtil.getDate(new Date()) + ".xls");
|
|
"hment;filename=classGroup-" + DateUtil.getDate(new Date()) + ".xls");
|