|
|
@ -88,6 +88,17 @@ |
|
|
WHERE order_code = #{cashRecordCollection.orderCode} |
|
|
WHERE order_code = #{cashRecordCollection.orderCode} |
|
|
AND status IN (1, 3) |
|
|
AND status IN (1, 3) |
|
|
</update> |
|
|
</update> |
|
|
|
|
|
<!--提交手续费时修改金币订单--> |
|
|
|
|
|
<update id="updateGoldOrder"> |
|
|
|
|
|
UPDATE user_gold_record |
|
|
|
|
|
<set> |
|
|
|
|
|
rate_id=#{cashRecordCollection.paymentCurrency}, |
|
|
|
|
|
<if test="cashRecordCollection.paymentAmount != 0"> |
|
|
|
|
|
money = #{cashRecordCollection.paymentAmount} |
|
|
|
|
|
</if> |
|
|
|
|
|
</set> |
|
|
|
|
|
WHERE order_code = #{cashRecordCollection.orderCode} |
|
|
|
|
|
</update> |
|
|
<!--设置gOrder订单为已同步--> |
|
|
<!--设置gOrder订单为已同步--> |
|
|
<update id="markSynced"> |
|
|
<update id="markSynced"> |
|
|
update g_order |
|
|
update g_order |
|
|
@ -364,6 +375,10 @@ |
|
|
<select id="selectIpayList" resultType="com.example.demo.domain.vo.cash.CashCollection"> |
|
|
<select id="selectIpayList" resultType="com.example.demo.domain.vo.cash.CashCollection"> |
|
|
select order_code,permanent_gold from cash_record_collection where payload='Ipay88' and order_no_status=1 |
|
|
select order_code,permanent_gold from cash_record_collection where payload='Ipay88' and order_no_status=1 |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
<!--根据订单号获取商品名称--> |
|
|
|
|
|
<select id="selectGoodsNameByCode" resultType="java.lang.String"> |
|
|
|
|
|
select goods_name from cash_record_collection where order_code=#{orderCode} |
|
|
|
|
|
</select> |
|
|
<!--根据OrderCode订单号更新收款订单--> |
|
|
<!--根据OrderCode订单号更新收款订单--> |
|
|
<update id="updateByGoldCoinOrderCodeByPayment"> |
|
|
<update id="updateByGoldCoinOrderCodeByPayment"> |
|
|
update cash_record_collection |
|
|
update cash_record_collection |
|
|
@ -430,4 +445,5 @@ |
|
|
order_no_status=0 |
|
|
order_no_status=0 |
|
|
where order_code=#{orderNo} |
|
|
where order_code=#{orderNo} |
|
|
</update> |
|
|
</update> |
|
|
|
|
|
|
|
|
</mapper> |
|
|
</mapper> |