mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 23:09:19 +08:00
refactor: 统一字段命名从 *Comparisons 改为 *Summary
后端: - CompanyOverviewVO: shopComparisons -> shopSummary, categoryComparisons -> categorySummary - ShopOverviewStatisticsVO: ProductComparison/CategoryComparison -> ProductSummary/CategorySummary - CompanyOverviewServiceImpl/ShopOverviewStatisticsServiceImpl: 方法和变量重命名 - CategoryExportExcelServiceImpl, ShopExportServiceImpl: 类型引用更新 前端: - store-overview/types/types.vo.ts: 接口重命名 ShopSummary/CategorySummary - shop/types/types.vo.ts: 接口重命名 ProductSummary/CategorySummary - 组件 props 从 shopComparisons/categoryComparisons 改为 shopSummary/categorySummary - 修复 ShopComparisonTable 导出类型引用 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -113,7 +113,7 @@ export namespace ShopVO {
|
||||
}
|
||||
|
||||
/** 商品汇总数据 */
|
||||
export interface ProductComparison {
|
||||
export interface ProductSummary {
|
||||
/** 商品ID */
|
||||
productId: number;
|
||||
/** 商品名称 */
|
||||
@@ -153,7 +153,7 @@ export namespace ShopVO {
|
||||
}
|
||||
|
||||
/** 品类汇总数据 */
|
||||
export interface CategoryComparison {
|
||||
export interface CategorySummary {
|
||||
/** 品类ID */
|
||||
categoryId: number;
|
||||
/** 品类名称 */
|
||||
@@ -209,17 +209,17 @@ export namespace ShopVO {
|
||||
/** 商品概览(含合计行和商品列表) */
|
||||
export interface ProductOverview {
|
||||
/** 合计行 */
|
||||
total: ProductComparison;
|
||||
total: ProductSummary;
|
||||
/** 各商品汇总列表 */
|
||||
products: ProductComparison[];
|
||||
products: ProductSummary[];
|
||||
}
|
||||
|
||||
/** 品类概览(含合计行和品类列表) */
|
||||
export interface CategoryOverview {
|
||||
/** 合计行 */
|
||||
total: CategoryComparison;
|
||||
total: CategorySummary;
|
||||
/** 各品类汇总列表 */
|
||||
categories: CategoryComparison[];
|
||||
categories: CategorySummary[];
|
||||
}
|
||||
|
||||
// ========== 店铺详情看板 ==========
|
||||
|
||||
Reference in New Issue
Block a user