Commit b7297708 by zhiheng.zhang

订单状态转换

parent ef3bec82
...@@ -665,6 +665,9 @@ public class OrderAdapter { ...@@ -665,6 +665,9 @@ public class OrderAdapter {
} }
}else if (Objects.equals(createOrderVo.getOrderType(), OrderType.MALL.getCode())) { }else if (Objects.equals(createOrderVo.getOrderType(), OrderType.MALL.getCode())) {
orderType = OrderType.MALL.getCode(); orderType = OrderType.MALL.getCode();
receiveAddress = (userDeliveryInfoDto != null ? userDeliveryInfoDto.getReceiveProvince()+ ","+userDeliveryInfoDto.getReceiveCity()+ "," +userDeliveryInfoDto.getReceiveRegion()+ "," + userDeliveryInfoDto.getReceiveAddress() : "");
createOrderVo.setMobile(userDeliveryInfoDto.getReceiveMobile());
createOrderVo.setUserName(userDeliveryInfoDto.getReceiveUserName());
} else { } else {
throw new ServiceException(ResponseResult.PARAMETER_MISSING, "非法的订单类型"); throw new ServiceException(ResponseResult.PARAMETER_MISSING, "非法的订单类型");
} }
......
...@@ -606,7 +606,7 @@ public class QueryOrderResponseVo { ...@@ -606,7 +606,7 @@ public class QueryOrderResponseVo {
/** /**
* 用户申请退款原因 1=退款退货 2=只退款不退货 * 用户申请退款原因 1=退款退货 2=只退款不退货
*/ */
private int refundMode; private Byte refundMode;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment