|
|
|
@@ -408,10 +408,17 @@ public class WxOrderController extends BaseController { |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(), "订单ID转换异常"); |
|
|
|
} |
|
|
|
wxOrder.setId(id); |
|
|
|
final WxOrderCouponPressVo orderCouponPressVo = wxOrderService.detailPressVo(wxOrder); |
|
|
|
if (orderCouponPressVo == null) |
|
|
|
try { |
|
|
|
final WxOrderCouponPressVo orderCouponPressVo = wxOrderService.detailPressVo(wxOrder); |
|
|
|
if (orderCouponPressVo == null) { |
|
|
|
logger.error("orderCouponPressVo is null: " + orderId); |
|
|
|
return new ResultData(ErrorCode.ORDER_IS_NOT_FIND); |
|
|
|
} |
|
|
|
return new ResultData(orderCouponPressVo); |
|
|
|
} catch (Exception e) { |
|
|
|
logger.error("SQL: " + e.getMessage()); |
|
|
|
return new ResultData(ErrorCode.ORDER_IS_NOT_FIND); |
|
|
|
return new ResultData(orderCouponPressVo); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|