会员积分代码提交

This commit is contained in:
Tankaikai
2025-02-26 15:17:39 +08:00
parent 472d6b8371
commit 200caf120a
3 changed files with 13 additions and 8 deletions

View File

@@ -3,4 +3,12 @@
<mapper namespace="com.czg.service.account.mapper.PointsExchangeRecordMapper">
<update id="authCancel">
update tb_points_exchange_record
set status = 'cancel',
cancel_or_refund_time = now(),
cancel_or_refund_reason = '超时未支付,系统自动取消订单'
where status = 'unpaid'
and TIMESTAMPDIFF(MINUTE, create_time, NOW()) >= 5
</update>
</mapper>