记得上下班打卡 | git大法好,push需谨慎

Commit baf24014 authored by 胡佳晨's avatar 胡佳晨

第三方平台 离线券券名称修改

parent fbd789de
...@@ -163,6 +163,17 @@ public class GoblinStoreOrderServiceImpl implements IGoblinStoreOrderService { ...@@ -163,6 +163,17 @@ public class GoblinStoreOrderServiceImpl implements IGoblinStoreOrderService {
break; break;
} }
} }
if (null == vo.getStoreUcouponId()) {
List<CouponOutLineVo> outLineVos = redisUtils.getOutLineCoupon();
for (CouponOutLineVo outLineVo : outLineVos) {
if (outLineVo.getStoreCouponId().equals(orderVo.getStoreCouponId())) {
vo.setStoreUcouponId(outLineVo.getStoreCouponId());
vo.setStoreUcouponName(outLineVo.getName());
vo.setStoreUcouponPrice(orderVo.getStorePriceCoupon());
break;
}
}
}
} else { } else {
vo.setStoreUcouponId(""); vo.setStoreUcouponId("");
...@@ -565,7 +576,7 @@ public class GoblinStoreOrderServiceImpl implements IGoblinStoreOrderService { ...@@ -565,7 +576,7 @@ public class GoblinStoreOrderServiceImpl implements IGoblinStoreOrderService {
// return ResponseDto.failure("无法查看"); // return ResponseDto.failure("无法查看");
// } // }
GoblinStoreOrderVo orderVo = null; GoblinStoreOrderVo orderVo = null;
if (null ==orderCode || "".equals(orderCode)) { if (null == orderCode || "".equals(orderCode)) {
orderVo = redisUtils.getGoblinOrder(orderId); orderVo = redisUtils.getGoblinOrder(orderId);
} else { } else {
orderVo = mongoUtils.getGoblinStoreOrderVoByCode(orderCode); orderVo = mongoUtils.getGoblinStoreOrderVoByCode(orderCode);
......
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