|
|
|
@ -1074,10 +1074,15 @@
|
|
|
|
|
WHERE
|
|
|
|
|
t.channel = 'Settlement'
|
|
|
|
|
]]>
|
|
|
|
|
<if test="client_ids!=null">
|
|
|
|
|
AND t.client_id IN
|
|
|
|
|
<foreach collection="client_ids" open="(" close=")" separator="," item="clientId">
|
|
|
|
|
#{clientId}
|
|
|
|
|
</foreach>
|
|
|
|
|
</if>
|
|
|
|
|
<if test="client_ids==null">
|
|
|
|
|
and t.client_id=#{client_id}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="from!=null">and t.transaction_time >= #{from}</if>
|
|
|
|
|
<if test="to!=null">and t.transaction_time < #{to}</if>
|
|
|
|
|
GROUP BY
|
|
|
|
|