Compare commits
No commits in common. "ce46bafa60a8b6c6b538ffbff10f35a2e8c26ad8" and "045688f12371cdb718afcd01265a6e94db7e4650" have entirely different histories.
ce46bafa60
...
045688f123
@ -61,7 +61,7 @@ public class SysLogLoginController {
|
||||
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
|
||||
List<SysLogLoginDTO> list = sysLogLoginService.list(params);
|
||||
|
||||
ExcelUtils.exportExcelToTarget(response, "登入登出日志导出", list, SysLogLoginExcel.class);
|
||||
ExcelUtils.exportExcelToTarget(response, null, list, SysLogLoginExcel.class);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -46,6 +46,7 @@ public class SysLogOperationController {
|
||||
})
|
||||
public Result<PageData<SysLogOperationDTO>> page(@ApiIgnore @RequestParam Map<String, Object> params){
|
||||
PageData<SysLogOperationDTO> page = sysLogOperationService.page(params);
|
||||
|
||||
return new Result<PageData<SysLogOperationDTO>>().ok(page);
|
||||
}
|
||||
|
||||
@ -55,7 +56,7 @@ public class SysLogOperationController {
|
||||
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
|
||||
List<SysLogOperationDTO> list = sysLogOperationService.list(params);
|
||||
|
||||
ExcelUtils.exportExcelToTarget(response, "操作日志导出", list, SysLogOperationExcel.class);
|
||||
ExcelUtils.exportExcelToTarget(response, null, list, SysLogOperationExcel.class);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -7,8 +7,8 @@ import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class SysLogLoginExcel {
|
||||
@Excel(name = "用户操作", replace = {"登入_0", "登出_1"})
|
||||
private Integer operation;
|
||||
@Excel(name = "用户操作")
|
||||
private String operation;
|
||||
@Excel(name = "状态", replace = {"失败_0", "成功_1", "账号已锁定_1"})
|
||||
private Integer status;
|
||||
@Excel(name = "User-Agent")
|
||||
|
Loading…
Reference in New Issue
Block a user