fix getClearDetailTotal

master
luoyang 6 years ago
parent bbfe9fc594
commit ebaf8efc68

@ -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