refactor: 推广记录 platform 字段改为外键关联 ec_platform 表,平台下拉动态加载

This commit is contained in:
小蟑螂
2026-04-30 22:26:10 +08:00
parent b063f65568
commit ddfde20efc
12 changed files with 136 additions and 99 deletions
@@ -9,8 +9,8 @@ export namespace PromotionFeeDTO {
shopId?: number;
/** 推广费类型ID */
feeTypeId?: number;
/** 平台 */
platform?: string;
/** 平台ID */
platformId?: number;
/** 推广费发生日期开始 */
feeDateStart?: string;
/** 推广费发生日期结束 */
@@ -25,8 +25,8 @@ export namespace PromotionFeeDTO {
feeTypeId: number;
/** 推广费名称 */
feeName: string;
/** 平台(淘宝、京东、拼多多等) */
platform?: string;
/** 平台ID */
platformId?: number;
/** 推广活动名称 */
campaignName?: string;
/** 推广费金额 */
@@ -57,8 +57,8 @@ export namespace PromotionFeeDTO {
feeTypeId: number;
/** 推广费名称 */
feeName: string;
/** 平台(淘宝、京东、拼多多等) */
platform?: string;
/** 平台ID */
platformId?: number;
/** 推广活动名称 */
campaignName?: string;
/** 推广费金额 */
@@ -78,4 +78,4 @@ export namespace PromotionFeeDTO {
/** 备注 */
remark?: string;
}
}
}
@@ -19,8 +19,10 @@ export namespace PromotionFeeVO {
feeTypeName?: string;
/** 推广费名称 */
feeName: string;
/** 平台(淘宝、京东、拼多多等) */
platform?: string;
/** 平台ID */
platformId?: number;
/** 平台名称 */
platformName?: string;
/** 推广活动名称 */
campaignName?: string;
/** 推广费金额 */
@@ -48,4 +50,4 @@ export namespace PromotionFeeVO {
/** 更新人ID */
updateBy?: number;
}
}
}