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

import com.zm.order.tool.server.dto.OrderDetailDTO;
import com.zm.order.tool.server.request.OrderDetailRequest;
import com.zm.order.tool.server.request.OrderRepairRequest;
import com.zm.order.tool.server.response.OrderNewVO;
import com.zm.util.dto.Result;

/**
 *
 * @packageName: com.zm.order.tool.server.service
 * @className: OrderRepairService
 * @author zhuxiaofeng
 * @date 2022/9/20 10:55
 */
public interface OrderRepairService {

    Result<OrderNewVO> orderDetail(OrderDetailRequest request);

    Result updateByDiff(OrderRepairRequest request);

    /**
     * 查询订单详情
     *
     * @param orderNo 订单号
     * @param userId  用户id
     * @return
     */
    Result<OrderDetailDTO> getOrderDetail(String orderNo, Long userId);

}
