mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 07:49:19 +08:00
feat: 完成多日读取支持
This commit is contained in:
@@ -27,14 +27,14 @@ export interface BatchImportPddGoodsAdFeeResult {
|
||||
}>;
|
||||
}
|
||||
|
||||
/** 插件统一模型 → 后端 batch-import 入参 */
|
||||
/** 插件统一模型 → 后端 batch-import 入参(日期取自每条 item) */
|
||||
export function toBatchImportRequest(
|
||||
batch: AdvertisingCostBatch,
|
||||
): BatchImportPddGoodsAdFeeRequest {
|
||||
return {
|
||||
items: batch.items.map((item) => ({
|
||||
channelShopId: batch.channelShopId,
|
||||
feeDate: batch.feeDate,
|
||||
feeDate: item.feeDate,
|
||||
goodsId: item.goodsId,
|
||||
feeAmount: item.feeAmount,
|
||||
})),
|
||||
|
||||
Reference in New Issue
Block a user