|
|
|
@ -276,4 +276,19 @@ |
|
|
|
<select id="selectByGoldCoinOrderCode" resultType="com.example.demo.domain.vo.cash.CashCollection"> |
|
|
|
select * from cash_record_collection where order_no=#{orderNo} |
|
|
|
</select> |
|
|
|
|
|
|
|
<!--根据glodcoin订单号更新收款订单--> |
|
|
|
<update id="updateByGoldCoinOrderCode"> |
|
|
|
update cash_record_collection |
|
|
|
<set> |
|
|
|
received_time=#{time}, |
|
|
|
payment_currency=#{currency}, |
|
|
|
received_currency=#{currency}, |
|
|
|
payment_amount=#{order_amount}, |
|
|
|
received_amount=#{net_amount}, |
|
|
|
handling_charge=#{charge}, |
|
|
|
order_no_status=0 |
|
|
|
</set> |
|
|
|
where order_code=#{merchant_reference} |
|
|
|
</update> |
|
|
|
</mapper> |