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

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

取消id写死的bug

parent d8ecdebe
...@@ -592,6 +592,10 @@ public class GoblinStoreOrderServiceImpl implements IGoblinStoreOrderService { ...@@ -592,6 +592,10 @@ public class GoblinStoreOrderServiceImpl implements IGoblinStoreOrderService {
for (String orderSkuId : skuIds) { for (String orderSkuId : skuIds) {
GoblinOrderSkuVo orderSkuVo = redisUtils.getGoblinOrderSkuVo(orderSkuId); GoblinOrderSkuVo orderSkuVo = redisUtils.getGoblinOrderSkuVo(orderSkuId);
if(orderSkuVo==null){
log.error("调过子订单号:"+orderSkuId);
continue;
}
orderSkuVo.setStatus(GoblinStatusConst.Status.ORDER_STATUS_3.getValue()); orderSkuVo.setStatus(GoblinStatusConst.Status.ORDER_STATUS_3.getValue());
//redis //redis
redisUtils.setGoblinOrderSku(orderSkuId, orderSkuVo); redisUtils.setGoblinOrderSku(orderSkuId, orderSkuVo);
......
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