Merge branch 'hotfix' into develop

master
kira 6 years ago
commit 3bcf4b444a

@ -11,6 +11,12 @@
left join left join
pmt_transactions t pmt_transactions t
on o.order_id = t.order_id on o.order_id = t.order_id
left join
pmt_custom_reports r
on r.order_id = o.order_id
where
o.channel = 'Alipay'
and o.client_id = #{client_id}
and transaction_type = 'Credit' and transaction_type = 'Credit'
and and
o.status in ( o.status in (
@ -18,12 +24,7 @@
#{item} #{item}
</foreach> </foreach>
) )
left join
pmt_custom_reports r
on r.order_id = o.order_id
and o.client_id = #{client_id}
and o.channel = 'Alipay'
<where>
<!--<if test="channel!=null">--> <!--<if test="channel!=null">-->
<!--and o.channel = #{channel}--> <!--and o.channel = #{channel}-->
<!--</if>--> <!--</if>-->
@ -33,7 +34,6 @@
<if test="report_status!=null"> <if test="report_status!=null">
and r.report_status = #{report_status} and r.report_status = #{report_status}
</if> </if>
</where>
order by transaction_time desc order by transaction_time desc
</select> </select>

Loading…
Cancel
Save