pos上流水条目统计有误

master
dalong306 3 years ago
parent 45207f9317
commit 8442b5d05c

@ -367,10 +367,11 @@
<if test="client_ids==null">
and (c.client_id=#{client_id} or c.parent_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>
<if test="from!=null">and t.create_time &gt;= #{from}</if>
<if test="to!=null">and t.create_time &lt; #{to}</if>
<if test="from!=null">and t.channel!= 'Settlement' </if>
<if test="transaction_type!=null">and t.transaction_type=#{transaction_type}</if>
<if test="date!=null">and date(t.transaction_time)=date(#{date})</if>
<if test="date!=null">and date(t.create_time)=date(#{date})</if>
<if test="clearing_status!=null">and t.clearing_status=#{clearing_status}</if>
<if test="trans_type==1">and t.transaction_type = 'Credit'</if>
<if test="trans_type==2">and t.refund_id is NOT NULL</if>

Loading…
Cancel
Save