|
@@ -74,10 +74,6 @@
|
|
open="(" separator="," close=")">
|
|
open="(" separator="," close=")">
|
|
#{item}
|
|
#{item}
|
|
</foreach>
|
|
</foreach>
|
|
- and
|
|
|
|
- <if test="userId != null">
|
|
|
|
- and t1.user_id = #{userId,jdbcType=VARCHAR}
|
|
|
|
- </if>
|
|
|
|
and t1.media_id = '1'
|
|
and t1.media_id = '1'
|
|
and t1.account_id != ''
|
|
and t1.account_id != ''
|
|
<if test="startDate != null">
|
|
<if test="startDate != null">
|
|
@@ -86,7 +82,7 @@
|
|
<if test="endDate != null">
|
|
<if test="endDate != null">
|
|
and t2.stat_datetime >= #{endDate} and
|
|
and t2.stat_datetime >= #{endDate} and
|
|
</if>
|
|
</if>
|
|
- 1=1
|
|
|
|
|
|
+ t3.id is not NULL
|
|
group by t4.signature
|
|
group by t4.signature
|
|
order by sum(t2.cost) desc
|
|
order by sum(t2.cost) desc
|
|
limit 100
|
|
limit 100
|