|
@@ -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 >= #{startTime}
|
|
and image.image_create_time >= #{startTime}
|
|
and image.image_create_time <= #{endTime}
|
|
and image.image_create_time <= #{endTime}
|
|
having creativeCnt <= #{creativeCnt}
|
|
having creativeCnt <= #{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 > 500
|
|
and a.totalCost > 500
|
|
having creativeCnt <= 100
|
|
having creativeCnt <= 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 <= 100
|
|
and a.totalCost <= 100
|
|
having creativeCnt < 20
|
|
having creativeCnt < 20
|
|
and creativeNum = 0
|
|
and creativeNum = 0
|