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