Browse Source

master-头条图片创建

yangzian 3 năm trước cách đây
mục cha
commit
639e7a44e5

+ 3 - 0
jeecg-boot-bytedance/src/main/java/org/jeecg/modules/bytedance/advertise/mapper/xml/ByteDanceVideoInfoMapper.xml

@@ -177,6 +177,7 @@
         <if test="imageMode == '3'.toString()">
             and image.type = '3'
         </if>
+        and account_id is NOT NULL
         and image.image_create_time &gt;= #{startTime}
         and image.image_create_time &lt;= #{endTime}
         having creativeCnt &lt;= #{creativeCnt}
@@ -219,6 +220,7 @@
         </if>)as image
         on a.material_id = image.material_id
         where 1=1
+        and account_id is NOT NULL
         and a.totalCost &gt; 500
         having creativeCnt &lt;= 100
         and creativeNum = 0
@@ -261,6 +263,7 @@
         </if>) as image
         on a.material_id = image.material_id
         where 1=1
+        and account_id is NOT NULL
         and a.totalCost &lt;= 100
         having creativeCnt &lt; 20
         and creativeNum = 0