|
|
|
@ -309,7 +309,13 @@ |
|
|
|
select * from cash_record_collection where bank_code=#{bankCode} |
|
|
|
</select> |
|
|
|
<select id="selectFirstdataList" resultType="java.lang.String"> |
|
|
|
select bank_code from cash_record_collection where bank_code is not null and payload='FirstData' and order_no_status=1 |
|
|
|
select order_code from cash_record_collection where bank_code is not null and payload='FirstData' and order_no_status=1 |
|
|
|
</select> |
|
|
|
<select id="selectStripeList" resultType="java.lang.String"> |
|
|
|
select order_code from cash_record_collection where payload='Stripe' and order_no_status=1 |
|
|
|
</select> |
|
|
|
<select id="selectPaymentList" resultType="java.lang.String"> |
|
|
|
select bank_code from cash_record_collection where payload='PaymentAsia' and order_no_status=1 |
|
|
|
</select> |
|
|
|
<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 |
|
|
|
@ -324,6 +330,7 @@ |
|
|
|
payment_amount=#{order_amount}, |
|
|
|
received_amount=#{net_amount}, |
|
|
|
handling_charge=#{charge}, |
|
|
|
status=4, |
|
|
|
order_no_status=0 |
|
|
|
where order_code=#{merchant_reference} |
|
|
|
</update> |
|
|
|
@ -337,6 +344,7 @@ |
|
|
|
payment_amount=#{amount}, |
|
|
|
received_amount=#{net}, |
|
|
|
handling_charge=#{fee}, |
|
|
|
status=4, |
|
|
|
order_no_status=0 |
|
|
|
where order_code=#{orderNo} |
|
|
|
</update> |
|
|
|
@ -348,6 +356,7 @@ |
|
|
|
payment_amount=#{amount}, |
|
|
|
received_amount=#{net}, |
|
|
|
handling_charge=#{fee}, |
|
|
|
status=4, |
|
|
|
order_no_status=0 |
|
|
|
where order_code=#{orderId} |
|
|
|
</update> |
|
|
|
@ -359,6 +368,7 @@ |
|
|
|
payment_amount=#{amount}, |
|
|
|
received_amount=#{net}, |
|
|
|
handling_charge=#{fee}, |
|
|
|
status=4, |
|
|
|
order_no_status=0 |
|
|
|
where order_code=#{orderNo} |
|
|
|
</update> |