|
|
|
@ -89,7 +89,7 @@ public class OrderSplitController { |
|
|
|
|
return R.ok().put(OrderManagementConstant.CODE, e.getCode()).put(OrderManagementConstant.MESSAGE, e.getMessage()); |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
log.error("{}订单拆分接口异常,异常信息:{}", LOGGER_MSG, e); |
|
|
|
|
return R.error(); |
|
|
|
|
return R.error(e.getMessage()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -248,7 +248,6 @@ public class OrderSplitController { |
|
|
|
|
@SysLog(operation = "保存拆分订单rest接口", operationDesc = "对订单进行拆分后数据保存", key = "订单拆分") |
|
|
|
|
public R saveOrderInfo( |
|
|
|
|
@ApiParam(name = "orderInfo", value = "拆分订单的全信息") @RequestBody List<CommonOrderInfo> commonList) { |
|
|
|
|
log.info("{}页面订单信息录入的接口,commonOrder:{}", LOGGER_MSG, JsonUtils.getInstance().toJsonString(commonList)); |
|
|
|
|
try { |
|
|
|
|
log.info("{}页面订单信息录入的接口,前端传入的参数commonList:{}", LOGGER_MSG, JsonUtils.getInstance().toJsonString(commonList)); |
|
|
|
|
orderSplitService.splitOrder(commonList); |
|
|
|
@ -259,7 +258,7 @@ public class OrderSplitController { |
|
|
|
|
return R.error().put(OrderManagementConstant.CODE, e.getCode()).put(OrderManagementConstant.MESSAGE, e.getMessage()); |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
return R.error().put(OrderManagementConstant.CODE, OrderInfoContentEnum.RECEIVE_FAILD.getKey()) |
|
|
|
|
.put(OrderManagementConstant.MESSAGE, OrderInfoContentEnum.RECEIVE_FAILD.getMessage()); |
|
|
|
|
.put(OrderManagementConstant.MESSAGE, e.getMessage()); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|