fix getClearDetailTotal

master
luoyang 6 years ago
parent bbfe9fc594
commit ebaf8efc68

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

Loading…
Cancel
Save