|
|
@ -359,11 +359,13 @@
|
|
|
|
and t.system_transaction_id =#{search_text}
|
|
|
|
and t.system_transaction_id =#{search_text}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="org_ids!=null">and p.org_id in
|
|
|
|
|
|
|
|
<foreach collection="org_ids" item="org_id" open="(" close=")" separator=",">#{org_id}</foreach></if>
|
|
|
|
<if test="order_id!=null">and o.order_id=#{order_id}</if>
|
|
|
|
<if test="order_id!=null">and o.order_id=#{order_id}</if>
|
|
|
|
<if test="trade_type!=null">and o.gateway in
|
|
|
|
<if test="trade_type!=null">and o.gateway in
|
|
|
|
<foreach collection="trade_type" item="gateway" open="(" close=")" separator=",">#{gateway}</foreach>
|
|
|
|
<foreach collection="trade_type" item="gateway" open="(" close=")" separator=",">#{gateway}</foreach>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="org_id!=null">and p.org_id=#{org_id}</if>
|
|
|
|
<if test="org_id!=null and org_ids==null">and p.org_id=#{org_id}</if>
|
|
|
|
<if test="from!=null">and o.create_time >= #{from}</if>
|
|
|
|
<if test="from!=null">and o.create_time >= #{from}</if>
|
|
|
|
<if test="to!=null">and o.create_time < #{to}</if>
|
|
|
|
<if test="to!=null">and o.create_time < #{to}</if>
|
|
|
|
<if test="date!=null">and date(o.create_time)=date(#{date})</if>
|
|
|
|
<if test="date!=null">and date(o.create_time)=date(#{date})</if>
|
|
|
|