package com.jeequan.jeepay.service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jeequan.jeepay.db.entity.RedPacketAccountDetail;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 账户变动明细表 Mapper 接口
 * </p>
 *
 * @author [mybatis plus generator]
 * @since 2024-01-18
 */
public interface RedPacketAccountDetailMapper extends BaseMapper<RedPacketAccountDetail> {

    @Select("SELECT * FROM t_red_packet_account_detail WHERE flow_no = #{flowNo}")
    RedPacketAccountDetail getByFlowNo(String flowNo);
}
