|
@@ -80,7 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="selectOrderList" resultType="com.miaxis.wx.domain.WxOrder">
|
|
<select id="selectOrderList" resultType="com.miaxis.wx.domain.WxOrder">
|
|
select * from wx_order
|
|
select * from wx_order
|
|
- where trade_state ='SUCCESS'
|
|
|
|
|
|
+ where openid=#{openid} and trade_state ='SUCCESS'
|
|
<if test="days != null and days != ''">
|
|
<if test="days != null and days != ''">
|
|
and DATE_SUB(CURDATE(), INTERVAL #{days} DAY) <= date(create_time)
|
|
and DATE_SUB(CURDATE(), INTERVAL #{days} DAY) <= date(create_time)
|
|
</if>
|
|
</if>
|