This commit is contained in:
parent
084af1accb
commit
77a9db8c8f
|
@ -39,7 +39,7 @@ public class SysLogLoginController {
|
|||
|
||||
@GetMapping("export")
|
||||
@Operation(summary = "导出excel")
|
||||
@PreAuthorize("hasAuthority('sys:log:login:export')")
|
||||
@PreAuthorize("hasAuthority('sys:log:login')")
|
||||
public Result<Map<String, String>> export() {
|
||||
Map<String, String> map = sysLogLoginService.export();
|
||||
|
||||
|
|
|
@ -38,7 +38,6 @@ import java.util.Map;
|
|||
@Service
|
||||
@AllArgsConstructor
|
||||
public class SysLogLoginServiceImpl extends BaseServiceImpl<SysLogLoginDao, SysLogLoginEntity> implements SysLogLoginService {
|
||||
|
||||
private final StorageService storageService;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -60,7 +60,6 @@ public class SysLogLoginVO implements Serializable {
|
|||
|
||||
|
||||
public static class StatusConverter implements Converter<Integer> {
|
||||
|
||||
@Override
|
||||
public WriteCellData<String> convertToExcelData(Integer value, ExcelContentProperty contentProperty, GlobalConfiguration globalConfiguration) {
|
||||
String dateValue = "";
|
||||
|
@ -74,7 +73,6 @@ public class SysLogLoginVO implements Serializable {
|
|||
}
|
||||
|
||||
public static class OperationConverter implements Converter<Integer> {
|
||||
|
||||
@Override
|
||||
public WriteCellData<String> convertToExcelData(Integer value, ExcelContentProperty contentProperty, GlobalConfiguration globalConfiguration) {
|
||||
String dateValue = "";
|
||||
|
|
Loading…
Reference in New Issue
Block a user