Browse Source

1.优化卸车数据逻辑

pre-production
zhenghaoyu 3 days ago
parent
commit
7b07c064e0
  1. 6
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/feign/DistributionStockArticleClient.java

6
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/feign/DistributionStockArticleClient.java

@ -81,6 +81,7 @@ public class DistributionStockArticleClient implements IDistributionStockArticle
String key = orderCode + warehouseId;
try{
Boolean exists = bladeRedis.exists(key);
if(exists){
String idStr = bladeRedis.get(key);
@ -105,6 +106,11 @@ public class DistributionStockArticleClient implements IDistributionStockArticle
}
}
}
}catch (Exception e){
log.error("#######addData: 保存订单失败",e);
return 0L;
}
}
@Override

Loading…
Cancel
Save