fix getClearDetailTotal

master
luoyang 6 years ago
parent c7eb4c23a8
commit 3c4c6f5b7d

@ -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 &gt;= #{from}</if>
<if test="to!=null">and t.transaction_time &lt; #{to}</if>
GROUP BY

Loading…
Cancel
Save