首页统计数据接口时序图
sequenceDiagram
participant U as 用户
participant C as GxtRepairOrderController
participant S as GxtRepairOrderServiceImpl
participant M as GxtRepairOrderMapper
participant DB as 数据库
U->>C: 请求首页统计数据
C->>S: 调用selectHomePageData()
S->>S: 获取当前用户信息
S->>M: 查询本月统计数据(selectHomePageData)
M->>DB: 执行复杂SQL查询
DB-->>M: 返回统计结果
M-->>S: 返回GxtOrderData对象
S->>S: 计算增长率等衍生数据
S->>M: 查询排名数据(selectHomePageRank)
M->>DB: 执行排名查询
DB-->>M: 返回排名结果
M-->>S: 返回GxtUserScore列表
S->>S: 处理排名数据
S-->>C: 返回完整的GxtOrderData对象
C-->>U: 返回AjaxResult封装的统计数据