fanxw hace 11 meses
padre
commit
fc7a98c0bd

+ 10 - 4
src/main/java/com/chinaitop/depot/system/model/UserOperationPageLogVO.java

@@ -18,10 +18,18 @@ import java.util.Date;
18
 @HeadRowHeight(20) // 标题高度
18
 @HeadRowHeight(20) // 标题高度
19
 @ColumnWidth(20) // 默认列宽度
19
 @ColumnWidth(20) // 默认列宽度
20
 public class UserOperationPageLogVO {
20
 public class UserOperationPageLogVO {
21
-    // 页面名称
21
+
22
+	// 页面名称
22
     @ExcelProperty(value = "页面名称")
23
     @ExcelProperty(value = "页面名称")
23
     private String viewName;
24
     private String viewName;
24
 
25
 
26
+    @ExcelProperty(value = "系统名称")
27
+    private String xtmc;
28
+
29
+    @ExcelProperty(value = "组织")
30
+    @ColumnWidth(30)
31
+    private String orgName;
32
+
25
     // 访问用户名称
33
     // 访问用户名称
26
     @ExcelProperty(value = "访问用户名称")
34
     @ExcelProperty(value = "访问用户名称")
27
     private String realName;
35
     private String realName;
@@ -34,7 +42,5 @@ public class UserOperationPageLogVO {
34
     @ExcelProperty(value = "访问页面时间")
42
     @ExcelProperty(value = "访问页面时间")
35
     private Date visitPageTime;
43
     private Date visitPageTime;
36
 
44
 
37
-    @ExcelProperty(value = "粮库名称")
38
-    @ColumnWidth(30)
39
-    private String orgName;
45
+    
40
 }
46
 }

+ 2 - 1
src/main/java/com/chinaitop/depot/system/service/impl/UserOperationPageLogServiceImpl.java

@@ -73,7 +73,7 @@ public class UserOperationPageLogServiceImpl implements UserOperationPageLogServ
73
                     .doWrite(this.getData(param));
73
                     .doWrite(this.getData(param));
74
 
74
 
75
         } catch (IOException e) {
75
         } catch (IOException e) {
76
-            log.error("摄像头管理导出异常:{}", e);
76
+            log.error("用户访问日志导出异常:{}", e);
77
             throw new RuntimeException(e);
77
             throw new RuntimeException(e);
78
         }
78
         }
79
     }
79
     }
@@ -83,6 +83,7 @@ public class UserOperationPageLogServiceImpl implements UserOperationPageLogServ
83
         List<UserOperationPageLogVO> list = new ArrayList<>();
83
         List<UserOperationPageLogVO> list = new ArrayList<>();
84
         pageList.forEach(userLoginLog -> {
84
         pageList.forEach(userLoginLog -> {
85
             UserOperationPageLogVO logVO = new UserOperationPageLogVO();
85
             UserOperationPageLogVO logVO = new UserOperationPageLogVO();
86
+            logVO.setXtmc("天津市智能粮库业务平台");
86
             BeanUtils.copyProperties(userLoginLog, logVO);
87
             BeanUtils.copyProperties(userLoginLog, logVO);
87
             list.add(logVO);
88
             list.add(logVO);
88
         });
89
         });