Commit 44e0c7b3 by jinfeng.wang

fix

parent a7834765
......@@ -49,7 +49,7 @@ public class GetPackageFromOffer {
String end = date + " 23:59:59";
String sql = String.format("SELECT package_name FROM " +
"(SELECT trace_app_id package_name FROM mob_adn.campaign_list " +
"WHERE `status` = 1 AND `timestamp` BETWEEN @startTime AND @endTime GROUP BY trace_app_id " +
"WHERE `advertiser_id` = 903 AND `timestamp` BETWEEN @startTime AND @endTime GROUP BY trace_app_id " +
"UNION " +
"SELECT package_name FROM mob_adn.publisher_channel " +
"WHERE `timestamp` BETWEEN @startTime AND @endTime GROUP BY package_name) t " +
......
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