|
|
|
@@ -2008,6 +2008,7 @@ public class WxOrderServiceImpl implements WxOrderService { |
|
|
|
} |
|
|
|
//如果没有orderId,则用lastOrder的信息 |
|
|
|
if (null == composeOrder.getMainOrderId() || composeOrder.getMainOrderId().intValue() <= 0) { |
|
|
|
wxOrderMapper.updateComposeOrderId(lastOrder.getId(), lastOrder.getId(), lastOrder.getTenantId()); |
|
|
|
return new WxComposeOrder(lastOrder.getId(), composeOrder.getComposeOrderType()); |
|
|
|
} |
|
|
|
return composeOrder; |
|
|
|
|