|
@@ -6,7 +6,7 @@
|
|
SELECT
|
|
SELECT
|
|
name
|
|
name
|
|
FROM ctop_bytedance_advertise_plan
|
|
FROM ctop_bytedance_advertise_plan
|
|
- WHERE advertiser_id = #{accountId}
|
|
|
|
|
|
+ WHERE account_id = #{accountId}
|
|
and (cpa_bid > #{maxBid} or bid > #{maxBid})
|
|
and (cpa_bid > #{maxBid} or bid > #{maxBid})
|
|
and toutiao_status = 'AD_STATUS_DELIVERY_OK'
|
|
and toutiao_status = 'AD_STATUS_DELIVERY_OK'
|
|
</select>
|
|
</select>
|
|
@@ -16,7 +16,7 @@
|
|
SELECT
|
|
SELECT
|
|
name
|
|
name
|
|
FROM ctop_bytedance_advertise_plan
|
|
FROM ctop_bytedance_advertise_plan
|
|
- WHERE advertiser_id = #{accountId}
|
|
|
|
|
|
+ WHERE account_id = #{accountId}
|
|
and deep_cpabid > #{maxCpaBid}
|
|
and deep_cpabid > #{maxCpaBid}
|
|
and toutiao_status = 'AD_STATUS_DELIVERY_OK'
|
|
and toutiao_status = 'AD_STATUS_DELIVERY_OK'
|
|
</select>
|
|
</select>
|