    }

    @Override
    public void saveOrder(OmsOrder omsOrder) {
        System.out.println("omsOrder = " + omsOrder);
        // 保存订单
        orderMapper.insert(omsOrder);
        String orderId = omsOrder.getId();
        // 保存订单详情
        List<OmsOrderItem> omsOrderItems = omsOrder.getOmsOrderItems();
        for (OmsOrderItem omsOrderItem : omsOrderItems) {