访问量统计

This commit is contained in:
zjf committed 2026-06-08 19:32:26 +08:00
1 parent 3c06ff7643
commit d4e6b506b3
7 files changed
+340

No files matched your search

@@ -28,6 +28,9 @@ public class AppAccessStatsQueryDTO {
@Schema(description = "部门ID列表")
private List<Long> deptIds;
@Schema(description = "层级统计根部门ID,不传则从组织树顶层开始")
private Long rootDeptId;
@Schema(description = "页面编码列表")
private List<String> pageCodes;
@@ -0,0 +1,70 @@
package com.bsd.pjcloud.admin.api.vo.stats;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
@Data
@Schema(description = "按部门层级访问统计")
public class AppAccessDeptTreeStatsVO {
@Schema(description = "部门ID")
@ExcelProperty("部门ID")
private Long deptId;
@Schema(description = "上级部门ID")
@ExcelIgnore
private Long parentId;
@Schema(description = "部门名称")
@ExcelProperty("部门名称")
private String deptName;
@Schema(description = "是否单位: 0部门 1单位")
@ExcelIgnore
private Integer isUnit;
@Schema(description = "层级,从1开始")
@ExcelIgnore
private Integer level;
@Schema(description = "本级访问量(PV)")
@ExcelProperty("本级PV")
private Long selfPv = 0L;
@Schema(description = "本级访客数(UV)")
@ExcelProperty("本级UV")
private Long selfUv = 0L;
@Schema(description = "本级访问人员数")
@ExcelProperty("本级访问用户数")
private Long selfVisitUserCount = 0L;
@Schema(description = "本级访问轨迹次数")
@ExcelProperty("本级轨迹数")
private Long selfTrackCount = 0L;
@Schema(description = "合计访问量(PV),含全部下级部门")
@ExcelProperty("合计PV")
private Long totalPv = 0L;
@Schema(description = "合计访客数(UV),含全部下级部门")
@ExcelProperty("合计UV")
private Long totalUv = 0L;
@Schema(description = "合计访问人员数,含全部下级部门")
@ExcelProperty("合计访问用户数")
private Long totalVisitUserCount = 0L;
@Schema(description = "合计访问轨迹次数,含全部下级部门")
@ExcelProperty("合计轨迹数")
private Long totalTrackCount = 0L;
@Schema(description = "子部门统计")
@ExcelIgnore
private List<AppAccessDeptTreeStatsVO> children = new ArrayList<>();
}