@@ -8,7 +8,7 @@
FROM ctop_bytedance_advertise_plan
WHERE advertiser_id = #{accountId}
and (cpa_bid > #{maxBid} or bid > #{maxBid})
-
+ and toutiao_status = 'AD_STATUS_DELIVERY_OK'
group by id
</select>
</mapper>