|
|
|
@ -6,25 +6,28 @@ |
|
|
|
id,mobile,order_time,status,sign_code,price,other_order_id,ali_user_id,unsub_time,business_type,link_id,next_pay_time |
|
|
|
from tb_ali_pay_signing_order |
|
|
|
<where> |
|
|
|
1=1 |
|
|
|
<if test="outTradeNo!=null and outTradeNo!=''"> |
|
|
|
and other_order_id = #{outTradeNo} |
|
|
|
</if> |
|
|
|
<if test="linkId!=null and linkId!=''"> |
|
|
|
and link_id = #{linkId} |
|
|
|
</if> |
|
|
|
<if test="linkName!=null and linkName!=''"> |
|
|
|
and link_name = #{linkName} |
|
|
|
</if> |
|
|
|
<if test="status!=null and status!=''"> |
|
|
|
and status = #{status} |
|
|
|
</if> |
|
|
|
<if test="beginTime!=null"> |
|
|
|
and order_time > #{beginTime} |
|
|
|
</if> |
|
|
|
<if test="endTime!=null"> |
|
|
|
and order_time < #{endTime} |
|
|
|
</if> |
|
|
|
1=1 |
|
|
|
<if test="outTradeNo!=null and outTradeNo!=''"> |
|
|
|
and other_order_id = #{outTradeNo} |
|
|
|
</if> |
|
|
|
<if test="linkId!=null and linkId!=''"> |
|
|
|
and link_id = #{linkId} |
|
|
|
</if> |
|
|
|
<if test="linkName!=null and linkName!=''"> |
|
|
|
and link_name = #{linkName} |
|
|
|
</if> |
|
|
|
<if test="status!=null and status!=''"> |
|
|
|
and status = #{status} |
|
|
|
</if> |
|
|
|
<if test="mobile!=null and mobile!=''"> |
|
|
|
and mobile = #{mobile} |
|
|
|
</if> |
|
|
|
<if test="beginTime!=null"> |
|
|
|
and order_time > #{beginTime} |
|
|
|
</if> |
|
|
|
<if test="endTime!=null"> |
|
|
|
and order_time < #{endTime} |
|
|
|
</if> |
|
|
|
<if test="beginSearchNextPayTime!=null"> |
|
|
|
and next_pay_time > #{beginSearchNextPayTime} |
|
|
|
</if> |
|
|
|
|