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 { @Select("SELECT * FROM tour_order_payment_attempt WHERE req_seq_id = #{reqSeqId} LIMIT 1 FOR UPDATE") TourOrderPaymentAttempt selectByReqSeqIdForUpdate(String reqSeqId); }