refactor(ecom-dmb): 导出服务重构,ExportServiceImpl拆分为独立服务类,抽取ExportFilenameUtils统一文件名构建

This commit is contained in:
小蟑螂
2026-04-28 14:02:29 +08:00
parent 455f10beed
commit 57fe400dee
21 changed files with 979 additions and 831 deletions
@@ -149,13 +149,13 @@ export namespace ShopVO {
salesAmountTrend?: TrendData;
/** 单量趋势分析 */
orderCountTrend?: TrendData;
/** 多商品数据横向对比(含合计行) */
/** 多商品数据横向汇总(含合计行) */
productOverview?: ProductOverview;
/** 品类多维度数据对比(含合计行) */
/** 品类多维度数据汇总(含合计行) */
categoryOverview?: CategoryOverview;
}
/** 商品对比数据 */
/** 商品汇总数据 */
export interface ProductComparison {
/** 商品ID */
productId: number;
@@ -193,7 +193,7 @@ export namespace ShopVO {
roi?: number;
}
/** 品类对比数据 */
/** 品类汇总数据 */
export interface CategoryComparison {
/** 品类ID */
categoryId: number;
@@ -249,7 +249,7 @@ export namespace ShopVO {
export interface ProductOverview {
/** 合计行 */
total: ProductComparison;
/** 各商品对比列表 */
/** 各商品汇总列表 */
products: ProductComparison[];
}
@@ -257,7 +257,7 @@ export namespace ShopVO {
export interface CategoryOverview {
/** 合计行 */
total: CategoryComparison;
/** 各品类对比列表 */
/** 各品类汇总列表 */
categories: CategoryComparison[];
}
}
@@ -23,9 +23,9 @@ export namespace CompanyOverviewVO {
shopSalesRatios?: ShopSalesRatio[];
/** 店铺效率象限(ROI vs 净利) */
shopEfficiencyQuadrants?: ShopEfficiencyQuadrant[];
/** 多店铺数据横向对比 */
/** 多店铺数据横向汇总 */
shopComparisons?: ShopOverview;
/** 多品类数据横向对比 */
/** 多品类数据横向汇总 */
categoryComparisons?: CategoryOverview;
/** 平台维度概览(包含合计行和平台列表) */
platformSummary?: PlatformOverview;
@@ -69,7 +69,7 @@ export namespace CompanyOverviewVO {
quadrant: number;
}
/** 店铺对比数据(16维度) */
/** 店铺汇总数据(16维度) */
export interface ShopComparison {
/** 店铺ID */
shopId: number;
@@ -115,7 +115,7 @@ export namespace CompanyOverviewVO {
roi?: number;
}
/** 品类对比数据 */
/** 品类汇总数据 */
export interface CategoryComparison {
/** 品类ID(未分配为null) */
categoryId?: number;
@@ -207,7 +207,7 @@ export namespace CompanyOverviewVO {
export interface ShopOverview {
/** 合计行 */
total: ShopComparison;
/** 各店铺对比列表 */
/** 各店铺汇总列表 */
shops: ShopComparison[];
}
@@ -215,7 +215,7 @@ export namespace CompanyOverviewVO {
export interface CategoryOverview {
/** 合计行 */
total: CategoryComparison;
/** 各品类对比列表 */
/** 各品类汇总列表 */
categories: CategoryComparison[];
}
}