Commit cfe5cf91 by 吕明尚

修改订单查询方法

parent 0f98207b
......@@ -91,7 +91,7 @@
</select>
<select id="getInfoByEntity" resultType="share.system.domain.EquityMembersOrder">
<include refid="selectEquityMembersOrderVo"/>
where out_trade_no=#{outTradeNo} and consumer_id=#{consumerId}
where terminal_trace=#{terminal_trace} and consumer_id=#{consumerId}
</select>
<insert id="insertEquityMembersOrder" parameterType="EquityMembersOrder" useGeneratedKeys="true" keyProperty="id">
......
......@@ -82,7 +82,7 @@
</select>
<select id="getInfoByEntity" resultType="share.system.domain.Recharge">
<include refid="selectRechargeVo"/>
where out_trade_no=#{outTradeNo} and consumer_id=#{consumerId}
where terminal_trace=#{terminal_trace} and consumer_id=#{consumerId}
</select>
<insert id="insertRecharge" parameterType="Recharge" useGeneratedKeys="true" keyProperty="id">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment