package com.winsun.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.winsun.bean.OrderCardAddress;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface OrderCardAddressMapper extends BaseMapper<OrderCardAddress> {
    @Select("select card_address from hhr_order_card_address where order_id = #{orderId}")
    String selectByOrderId(@Param("orderId") Object orderId);
}
