package com.yc.ship.module.trade.dal.mysql.order;


import com.yc.ship.framework.mybatis.core.mapper.BaseMapperX;
import com.yc.ship.module.trade.dal.dataobject.order.TradeOrderDeliveryDO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 订单交付信息 Mapper
 *
 * @author 管理员
 */
@Mapper
public interface TradeOrderDeliveryMapper extends BaseMapperX<TradeOrderDeliveryDO> {

    default TradeOrderDeliveryDO selectByOrderId(Long orderId) {
        return selectOne(TradeOrderDeliveryDO::getOrderId, orderId);
    }
}