package com.zm.order.tool.server.history;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.zm.order.tool.server.model.OrderExtends;


/**
 * <p>
 *
 * </p>
 *
 * @author nianchang
 * @date 2023/02/17 3:42 下午
 */
@Repository
public interface HistoryDataExtendsDao {

    /**
     * 根据订单号查询
     *
     * @param orderNo 订单号
     * @param userId 用户id
     * @return OrderExtends
     */
    OrderExtends selectByOrderNo(@Param("orderNo") String orderNo,
                                 @Param("userId") Long userId);
}
