gaoluyang
5 天以前 87d725aa16dcdcdd19f28cd3f3f162e950fd1d2f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
package cn.iocoder.yudao.module.aftersales.controller.admin.ticket.vo.ticket;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.util.List;
 
/**
 * 售后工单 - 工单助手统计 Response VO
 */
@Schema(description = "售后工单 - 工单助手统计 Response VO")
@Data
public class AfterSaleTicketStatisticsRespVO {
 
    @Schema(description = "工单总数", example = "42")
    private Long totalCount;
 
    @Schema(description = "处理中数量", example = "8")
    private Long processingCount;
 
    @Schema(description = "待退货数量", example = "2")
    private Long waitingReturnCount;
 
    @Schema(description = "待退款/换货数量", example = "1")
    private Long waitingRefundCount;
 
    @Schema(description = "已完结(待回访)数量", example = "5")
    private Long completedCount;
 
    @Schema(description = "已关闭(归档)数量", example = "20")
    private Long closedCount;
 
    @Schema(description = "已取消数量", example = "1")
    private Long canceledCount;
 
    @Schema(description = "今日新增数量", example = "3")
    private Long todayCreateCount;
 
    @Schema(description = "今日完结数量", example = "2")
    private Long todayResolveCount;
 
    @Schema(description = "已现场签到工单数量", example = "15")
    private Long signInCount;
 
    @Schema(description = "被升级过的工单数量", example = "4")
    private Long escalatedCount;
 
    @Schema(description = "平均完结耗时(小时)", example = "6.5")
    private BigDecimal avgResolveHours;
 
    @Schema(description = "回访满意率(百分比,0-100)", example = "96.7")
    private BigDecimal satisfactionRate;
 
    @Schema(description = "按状态统计")
    private List<StatusCount> statusCounts;
 
    @Schema(description = "按问题类型统计")
    private List<IssueTypeCount> issueTypeCounts;
 
    @Schema(description = "按处理人统计工作量")
    private List<HandlerWorkload> handlerWorkloads;
 
    @Schema(description = "状态统计")
    @Data
    public static class StatusCount {
 
        @Schema(description = "状态", example = "10")
        private Integer status;
 
        @Schema(description = "状态名称", example = "处理中")
        private String statusName;
 
        @Schema(description = "数量", example = "8")
        private Long count;
 
    }
 
    @Schema(description = "问题类型统计")
    @Data
    public static class IssueTypeCount {
 
        @Schema(description = "问题类型", example = "2")
        private Integer issueType;
 
        @Schema(description = "问题类型名称", example = "维修问题")
        private String issueTypeName;
 
        @Schema(description = "数量", example = "12")
        private Long count;
 
    }
 
    @Schema(description = "处理人工作量")
    @Data
    public static class HandlerWorkload {
 
        @Schema(description = "处理人用户编号", example = "2")
        private Long handlerUserId;
 
        @Schema(description = "处理人名称", example = "张工")
        private String handlerUserName;
 
        @Schema(description = "处理中数量", example = "3")
        private Long processingCount;
 
        @Schema(description = "累计处理数量", example = "12")
        private Long totalCount;
 
    }
 
}