liujie
2026-08-21 a7c8a8f6055e1a03414f2227d12ff2e87ec52d41
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);
}