|
@@ -113,7 +113,8 @@ class ReportRetry extends Command
|
|
|
$result['updated_at'] = date('Y-m-d H:i:s');
|
|
|
DB::table('wechat_advertise_report_record')->where('id',$item->id)->update($result);
|
|
|
|
|
|
- DB::connection('api_mysql')->table('distribution_channel_weixin_ad_report_orders')->where('order_id',$item->product_id)
|
|
|
+ DB::connection('api_mysql')->table('distribution_channel_weixin_report_orders')->where('order_id',$item->product_id)
|
|
|
+ ->where('type','WECHAT')
|
|
|
->update(['report_status'=>1]);
|
|
|
}
|
|
|
}
|