|
@@ -149,9 +149,9 @@ public class ProductOrderFacade extends ProductOrderServiceImpl {
|
|
|
if (0 == lantoneProductFacade.listByIds(lantoneProductId).size()) {
|
|
|
throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, "获取产品信息失败");
|
|
|
}
|
|
|
- /*if(orderDetailsFacade.saveOrderDetails(list)){
|
|
|
+ if(orderDetailsFacade.saveOrderDetails(list)){
|
|
|
throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, "添加订单失败");
|
|
|
- }*/
|
|
|
+ }
|
|
|
return true;
|
|
|
}
|
|
|
|