优化 campaign adset ad列表的数据排序
This commit is contained in:
parent
ece22898b6
commit
5438937ca4
@ -220,7 +220,7 @@ class AdsInsightService
|
||||
$query->where('c.platform_type', '=', $platformType);
|
||||
}
|
||||
});
|
||||
|
||||
$query->order('c.platform_type, c.status', 'asc');
|
||||
// 获取所有符合条件的数据(不分页)
|
||||
$allCampaigns = $query->select()->toArray();
|
||||
|
||||
@ -922,7 +922,7 @@ class AdsInsightService
|
||||
$query->where('s.platform_type', '=', $platformType);
|
||||
}
|
||||
});
|
||||
|
||||
$query->order('s.platform_type, s.status', 'asc');
|
||||
// 获取所有符合条件的数据(不分页)
|
||||
$allAdsets = $query->select()->toArray();
|
||||
|
||||
@ -1389,7 +1389,7 @@ class AdsInsightService
|
||||
$query->where('a.platform_type', '=', $platformType);
|
||||
}
|
||||
});
|
||||
|
||||
$query->order('a.platform_type, a.status', 'asc');
|
||||
// 获取所有符合条件的数据(不分页)
|
||||
$allAds = $query->select()->toArray();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user