未获取到支付记录
This commit is contained in:
@@ -34,6 +34,14 @@
|
||||
update tb_order_info set origin_amount = origin_amount-#{amount}, update_time=now() where id=#{id} and origin_amount-#{amount} >= 0;
|
||||
</update>
|
||||
|
||||
<update id="updatePayOrderId">
|
||||
update tb_order_info
|
||||
set pay_order_id = #{payOrderId},
|
||||
pay_type = #{payType},
|
||||
update_time=now()
|
||||
where id = #{orderId};
|
||||
</update>
|
||||
|
||||
<select id="getHandoverCashAmount" resultType="java.math.BigDecimal">
|
||||
SELECT
|
||||
ifnull(sum(t1.pay_amount),0)
|
||||
|
||||
Reference in New Issue
Block a user