|
|
|
@ -1,5 +1,7 @@
|
|
|
|
|
package com.ibeetl.jlw.web;
|
|
|
|
|
|
|
|
|
|
import cn.hutool.core.date.DateUtil;
|
|
|
|
|
import cn.hutool.core.io.unit.DataUnit;
|
|
|
|
|
import cn.hutool.core.lang.Assert;
|
|
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
|
|
import cn.jlw.Interceptor.GetFile;
|
|
|
|
@ -446,6 +448,9 @@ public class StudentTeacherSystemUseLogAnalysisController extends BaseController
|
|
|
|
|
condition.setPage(1); condition.setLimit(Integer.MAX_VALUE + 0L);
|
|
|
|
|
PageQuery<SystemUseLogsAnalysisVO> page = studentTeacherSystemUseLogAnalysisService.applicationUseLogsAnalysis(condition.getPageQuery());
|
|
|
|
|
|
|
|
|
|
page.getList().forEach(item ->{
|
|
|
|
|
item.setUseTime(DateUtil.formatDateTime(item.getDayTime()));
|
|
|
|
|
});
|
|
|
|
|
String filename = StrUtil.format("院校使用日志导出{}.xlsx", System.currentTimeMillis());
|
|
|
|
|
write(response, filename, "Sheet1", SystemUseLogsAnalysisVO.class, page.getList());
|
|
|
|
|
return null;
|
|
|
|
|