feat: 新增产品热度排行接口
This commit is contained in:
@@ -11,34 +11,29 @@ import java.util.List;
|
||||
*/
|
||||
@Data
|
||||
public class DashboardOverviewVO {
|
||||
|
||||
|
||||
/**
|
||||
* 订单汇总
|
||||
*/
|
||||
private OrderSummaryVO orderSummary;
|
||||
|
||||
|
||||
/**
|
||||
* 销售经理饼图
|
||||
*/
|
||||
private List<SalesManagerPieVO> salesManagerPie;
|
||||
|
||||
|
||||
/**
|
||||
* 产品销量排行
|
||||
*/
|
||||
private List<ProductRankVO> productRank;
|
||||
|
||||
|
||||
/**
|
||||
* 订单物料分析
|
||||
*/
|
||||
private List<OrderMaterialVO> orderMaterial;
|
||||
|
||||
|
||||
/**
|
||||
* 客户分布
|
||||
*/
|
||||
private List<CustomerRegionVO> customerRegion;
|
||||
|
||||
/**
|
||||
* 热门产品排行(基于访问频率)
|
||||
*/
|
||||
private List<HotProductVO> hotProducts;
|
||||
}
|
||||
|
||||
@@ -3,36 +3,36 @@ package com.klp.domain.vo;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 热门产品视图对象
|
||||
* 产品咨询热度排行视图对象
|
||||
*
|
||||
* @author klp
|
||||
* @date 2025-01-27
|
||||
* @date 2025-07-24
|
||||
*/
|
||||
@Data
|
||||
public class HotProductVO {
|
||||
|
||||
public class ProductRankingVo {
|
||||
|
||||
/**
|
||||
* 产品ID
|
||||
*/
|
||||
private Long productId;
|
||||
|
||||
/**
|
||||
* 产品名称
|
||||
*/
|
||||
private String productName;
|
||||
|
||||
|
||||
/**
|
||||
* 产品编号
|
||||
*/
|
||||
private String productCode;
|
||||
|
||||
|
||||
/**
|
||||
* 产品名称
|
||||
*/
|
||||
private String productName;
|
||||
|
||||
/**
|
||||
* 访问次数
|
||||
*/
|
||||
private Long visitCount;
|
||||
|
||||
private Long viewCount;
|
||||
|
||||
/**
|
||||
* 排名
|
||||
*/
|
||||
private Integer rank;
|
||||
private Integer ranking;
|
||||
}
|
||||
Reference in New Issue
Block a user