Commit fce365ba by jianshuqin

修改BUG:同步4K接口的Amazon广告费重复数据异常

parent c729871e
...@@ -254,7 +254,8 @@ namespace Bailun.DC.SyncAmazonAdFee ...@@ -254,7 +254,8 @@ namespace Bailun.DC.SyncAmazonAdFee
, bj_modify_time = @bj_modify_time , bj_modify_time = @bj_modify_time
, exchange_rate = @exchange_rate , exchange_rate = @exchange_rate
, exchange_rate_usd = @exchange_rate_usd , exchange_rate_usd = @exchange_rate_usd
where data_id=@data_id", m); , data_id = @data_id
where (`company_id`=@company_id AND `account_id`=@account_id AND `campaign_id`=@campaign_id AND `ad_group_id`=@ad_group_id AND `sku`=@sku AND `report_date`=@report_date AND `type`=@type) OR (`data_id`=@data_id)", m);
} }
if (count == 0) if (count == 0)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment