浏览代码

master-头条图片创建

yangzian 3 年之前
父节点
当前提交
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()">
         <if test="imageMode == '3'.toString()">
             and image.type = '3'
             and image.type = '3'
         </if>
         </if>
+        and account_id is NOT NULL
         and image.image_create_time &gt;= #{startTime}
         and image.image_create_time &gt;= #{startTime}
         and image.image_create_time &lt;= #{endTime}
         and image.image_create_time &lt;= #{endTime}
         having creativeCnt &lt;= #{creativeCnt}
         having creativeCnt &lt;= #{creativeCnt}
@@ -219,6 +220,7 @@
         </if>)as image
         </if>)as image
         on a.material_id = image.material_id
         on a.material_id = image.material_id
         where 1=1
         where 1=1
+        and account_id is NOT NULL
         and a.totalCost &gt; 500
         and a.totalCost &gt; 500
         having creativeCnt &lt;= 100
         having creativeCnt &lt;= 100
         and creativeNum = 0
         and creativeNum = 0
@@ -261,6 +263,7 @@
         </if>) as image
         </if>) as image
         on a.material_id = image.material_id
         on a.material_id = image.material_id
         where 1=1
         where 1=1
+        and account_id is NOT NULL
         and a.totalCost &lt;= 100
         and a.totalCost &lt;= 100
         having creativeCnt &lt; 20
         having creativeCnt &lt; 20
         and creativeNum = 0
         and creativeNum = 0