|
@@ -3119,7 +3119,7 @@ public class ExportController extends BaseController {
|
|
try {
|
|
try {
|
|
String[] header = {"老师编号", "老师姓名", "学员总数", "付费学员数量",
|
|
String[] header = {"老师编号", "老师姓名", "学员总数", "付费学员数量",
|
|
"试用会员", "会员占比"};
|
|
"试用会员", "会员占比"};
|
|
- String[] body = {"teacherId", "teacherName", "totalStudentNum", "vipStudentNum", "eVipStudentNum", "vipStudentDuty"};
|
|
|
|
|
|
+ String[] body = {"teacherId", "teacherName", "totalStudentNum", "vipStudentNum", "eVipStudentNum", "vipStudentDuty+\"%\""};
|
|
HSSFWorkbook workbook = POIUtil.exportExcel(header, body, rows);
|
|
HSSFWorkbook workbook = POIUtil.exportExcel(header, body, rows);
|
|
response.setContentType("application/octet-stream");
|
|
response.setContentType("application/octet-stream");
|
|
response.setHeader("Content-Disposition", "attachment;filename=employeeInfo-" + DateUtil.getDate(new Date()) + ".xls");
|
|
response.setHeader("Content-Disposition", "attachment;filename=employeeInfo-" + DateUtil.getDate(new Date()) + ".xls");
|
|
@@ -3171,7 +3171,7 @@ public class ExportController extends BaseController {
|
|
OutputStream outputStream = response.getOutputStream();
|
|
OutputStream outputStream = response.getOutputStream();
|
|
try {
|
|
try {
|
|
String[] header = {"分部", "学员总数", "付费会员数量","会员占比"};
|
|
String[] header = {"分部", "学员总数", "付费会员数量","会员占比"};
|
|
- String[] body = {"organName", "totalStudentNum", "vipStudentNum", "vipStudentDuty"};
|
|
|
|
|
|
+ String[] body = {"organName", "totalStudentNum", "vipStudentNum", "vipStudentDuty+\"%\""};
|
|
HSSFWorkbook workbook = POIUtil.exportExcel(header, body, rows);
|
|
HSSFWorkbook workbook = POIUtil.exportExcel(header, body, rows);
|
|
response.setContentType("application/octet-stream");
|
|
response.setContentType("application/octet-stream");
|
|
response.setHeader("Content-Disposition", "attachment;filename=employeeInfo-" + DateUtil.getDate(new Date()) + ".xls");
|
|
response.setHeader("Content-Disposition", "attachment;filename=employeeInfo-" + DateUtil.getDate(new Date()) + ".xls");
|
|
@@ -3222,8 +3222,9 @@ public class ExportController extends BaseController {
|
|
}
|
|
}
|
|
OutputStream outputStream = response.getOutputStream();
|
|
OutputStream outputStream = response.getOutputStream();
|
|
try {
|
|
try {
|
|
- String[] header = {"排名", "分部", "学员总数", "付费会员数量","会员占比"};
|
|
|
|
- String[] body = {"index", "organName", "totalStudentNum", "vipStudentNum", "vipStudentDuty"};
|
|
|
|
|
|
+ String[] header = {"排名", "分部", "学员总数", "活跃人数", "活跃人数占比", "使用人数", "使用人数占比", "付费会员数量","付费会员占比", "新增付费会员"};
|
|
|
|
+ String[] body = {"index", "organName", "totalStudentNum", "cloudStudyLivelyStudentNum", "cloudStudyLivelyStudentDuty+\"%\"",
|
|
|
|
+ "cloudStudyUseStudentNum", "cloudStudyUseStudentDuty+\"%\"", "vipStudentNum", "vipStudentDuty+\"%\"", "newCloudStudyStudentNum"};
|
|
HSSFWorkbook workbook = POIUtil.exportExcel(header, body, rows);
|
|
HSSFWorkbook workbook = POIUtil.exportExcel(header, body, rows);
|
|
response.setContentType("application/octet-stream");
|
|
response.setContentType("application/octet-stream");
|
|
response.setHeader("Content-Disposition", "attachment;filename=employeeInfo-" + DateUtil.getDate(new Date()) + ".xls");
|
|
response.setHeader("Content-Disposition", "attachment;filename=employeeInfo-" + DateUtil.getDate(new Date()) + ".xls");
|