|
|
@ -896,6 +896,12 @@
|
|
|
|
WHERE
|
|
|
|
WHERE
|
|
|
|
l.channel != 'Settlement'
|
|
|
|
l.channel != 'Settlement'
|
|
|
|
AND l.system_generate = 0
|
|
|
|
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">
|
|
|
|
<if test="client_ids==null and client_id != null">
|
|
|
|
AND l.client_id=#{client_id}
|
|
|
|
AND l.client_id=#{client_id}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|