Browse Source

修改代码逻辑

syh 4 years ago
parent
commit
e680ddc9f8

+ 3 - 3
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/batch/mapper/xml/KuaishouStrategyMapper.xml

@@ -12,8 +12,8 @@
     </select>
 
     <select id="queryActiveAccount" resultType="java.lang.Long">
-        SELECT account_id FROM ctop_kuaishou_strategy
-        WHERE strategy_state = 1
+        SELECT account_id FROM ctop_ai_kuaishou_auto_creative_account_info
+        WHERE status = 1
         GROUP BY account_id
     </select>
-</mapper>
+</mapper>