|
|
|
@ -375,4 +375,42 @@ |
|
|
|
order_no_status=0 |
|
|
|
where order_code=#{merchant_reference} |
|
|
|
</update> |
|
|
|
<!--根据OrderCode订单号更新收款订单--> |
|
|
|
<update id="updateByGoldCoinOrderCodeByStripe"> |
|
|
|
update cash_record_collection |
|
|
|
SET |
|
|
|
received_time=#{availableOn}, |
|
|
|
payment_currency='2', |
|
|
|
received_currency='2', |
|
|
|
payment_amount=#{amount}, |
|
|
|
received_amount=#{net}, |
|
|
|
handling_charge=#{fee}, |
|
|
|
status=4, |
|
|
|
order_no_status=0 |
|
|
|
where order_code=#{orderNo} |
|
|
|
</update> |
|
|
|
<update id="updateByGoldCoinOrderCodeByFirstdata"> |
|
|
|
update cash_record_collection |
|
|
|
SET |
|
|
|
payment_currency='3', |
|
|
|
received_currency='3', |
|
|
|
payment_amount=#{amount}, |
|
|
|
received_amount=#{net}, |
|
|
|
handling_charge=#{fee}, |
|
|
|
status=4, |
|
|
|
order_no_status=0 |
|
|
|
where order_code=#{orderId} |
|
|
|
</update> |
|
|
|
<update id="updateByGoldCoinOrderCodeByIpay88"> |
|
|
|
update cash_record_collection |
|
|
|
SET |
|
|
|
payment_currency='4', |
|
|
|
received_currency='4', |
|
|
|
payment_amount=#{amount}, |
|
|
|
received_amount=#{net}, |
|
|
|
handling_charge=#{fee}, |
|
|
|
status=4, |
|
|
|
order_no_status=0 |
|
|
|
where order_code=#{orderNo} |
|
|
|
</update> |
|
|
|
</mapper> |