master
todking 5 years ago
parent 0e74888bea
commit eb55465a96

@ -896,6 +896,12 @@
WHERE
l.channel != 'Settlement'
AND l.system_generate = 0
<if test="client_ids!=null">
AND l.client_id IN
<foreach collection="client_ids" open="(" close=")" separator="," item="client_id">
#{client_id}
</foreach>
</if>
<if test="client_ids==null and client_id != null">
AND l.client_id=#{client_id}
</if>

Loading…
Cancel
Save