liujie
2026-09-14 82a8bc62d5b9d5d607f6952329952b17eda2f0a0
1
2
3
4
5
6
7
8
9
10
package com.tourguide.modules.order.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tourguide.modules.order.entity.TourOrderPaymentAttempt;
import org.apache.ibatis.annotations.Select;
 
public interface TourOrderPaymentAttemptMapper extends BaseMapper<TourOrderPaymentAttempt> {
    @Select("SELECT * FROM tour_order_payment_attempt WHERE req_seq_id = #{reqSeqId} LIMIT 1 FOR UPDATE")
    TourOrderPaymentAttempt selectByReqSeqIdForUpdate(String reqSeqId);
}