|
@@ -84,7 +84,7 @@
|
|
and material_upload_time >= #{startTime}
|
|
and material_upload_time >= #{startTime}
|
|
and material_upload_time <= #{endTime}
|
|
and material_upload_time <= #{endTime}
|
|
having creativeCnt <= #{creativeCnt} and slogens >0 and creativeNum = 0
|
|
having creativeCnt <= #{creativeCnt} and slogens >0 and creativeNum = 0
|
|
- order by material_upload_time desc
|
|
|
|
|
|
+ order by material_upload_time
|
|
limit #{videoCnt}
|
|
limit #{videoCnt}
|
|
</select>
|
|
</select>
|
|
<select id="topMatByParams" resultType="org.jeecg.modules.bytedance.advertise.entity.ByteDanceVideoInfo">
|
|
<select id="topMatByParams" resultType="org.jeecg.modules.bytedance.advertise.entity.ByteDanceVideoInfo">
|
|
@@ -112,7 +112,7 @@
|
|
having creativeCnt <= 100
|
|
having creativeCnt <= 100
|
|
and creativeNum = 0
|
|
and creativeNum = 0
|
|
and slogens >0
|
|
and slogens >0
|
|
- order by a.material_id desc
|
|
|
|
|
|
+ order by material_upload_time
|
|
limit #{videoCnt}
|
|
limit #{videoCnt}
|
|
</select>
|
|
</select>
|
|
|
|
|
|
@@ -141,7 +141,7 @@
|
|
having creativeCnt < 20
|
|
having creativeCnt < 20
|
|
and creativeNum = 0
|
|
and creativeNum = 0
|
|
and slogens >0
|
|
and slogens >0
|
|
- order by a.material_id desc
|
|
|
|
|
|
+ order by material_upload_time
|
|
limit #{videoCnt}
|
|
limit #{videoCnt}
|
|
</select>
|
|
</select>
|
|
|
|
|
|
@@ -172,7 +172,7 @@
|
|
and image.image_create_time <= #{endTime}
|
|
and image.image_create_time <= #{endTime}
|
|
having creativeCnt <= #{creativeCnt}
|
|
having creativeCnt <= #{creativeCnt}
|
|
and creativeNum = 0
|
|
and creativeNum = 0
|
|
- order by image.image_create_time desc
|
|
|
|
|
|
+ order by image.image_create_time
|
|
limit #{videoCnt}
|
|
limit #{videoCnt}
|
|
</select>
|
|
</select>
|
|
|
|
|
|
@@ -213,7 +213,7 @@
|
|
and a.totalCost > 500
|
|
and a.totalCost > 500
|
|
having creativeCnt <= 100
|
|
having creativeCnt <= 100
|
|
and creativeNum = 0
|
|
and creativeNum = 0
|
|
- order by a.material_id desc
|
|
|
|
|
|
+ order by image_create_time
|
|
limit #{videoCnt}
|
|
limit #{videoCnt}
|
|
</select>
|
|
</select>
|
|
|
|
|
|
@@ -255,7 +255,7 @@
|
|
and a.totalCost <= 100
|
|
and a.totalCost <= 100
|
|
having creativeCnt < 20
|
|
having creativeCnt < 20
|
|
and creativeNum = 0
|
|
and creativeNum = 0
|
|
- order by a.material_id desc
|
|
|
|
|
|
+ order by image_create_time
|
|
limit #{videoCnt}
|
|
limit #{videoCnt}
|
|
</select>
|
|
</select>
|
|
|
|
|