luoyang 6 years ago
parent 8db360ec4d
commit a23ea19136

@ -44,6 +44,9 @@
<if test="transaction_type!=null">and t.transaction_type=#{transaction_type}</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.transaction_time)=date(#{date})</if>
<if test="clearing_status!=null">and t.clearing_status=#{clearing_status}</if> <if test="clearing_status!=null">and t.clearing_status=#{clearing_status}</if>
<if test="dev_id!=null">
and o.dev_id = #{dev_id}
</if>
<if test="trans_type==1">and t.transaction_type = 'Credit'</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> <if test="trans_type==2">and t.refund_id is NOT NULL</if>
<if test="trans_type==3">and t.transaction_type='Debit' and t.refund_id is NULL</if> <if test="trans_type==3">and t.transaction_type='Debit' and t.refund_id is NULL</if>

Loading…
Cancel
Save