Browse Source

Merge branch 'cpq-dev' of wangfan/adweb3-server into master

chenpeiqing 2 weeks ago
parent
commit
9f5a394bbe

+ 4 - 3
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/product/service/impl/AdwebProductServiceImpl.java

@@ -54,9 +54,10 @@ public class AdwebProductServiceImpl extends ServiceImpl<AdwebProductMapper, Adw
 
     Sohoeb2bOrder siteOrderPost = sohoeb2bOrderService.getBySiteCode(adwebSites.getCode());
     // 属于苏豪租户的站点 向苏豪接口发送产品信息
-    if ("江苏苏豪纺织集团有限公司".equals(adwebSites.getChannelProviderName())
-        && StringUtils.isNotBlank(siteOrderPost.getOrderUrl())) {
-      pushSohoeB2BProduct(productDTO, adwebSites);
+    if ("江苏苏豪纺织集团有限公司".equals(adwebSites.getChannelProviderName()) && siteOrderPost != null) {
+      if (StringUtils.isNotBlank(siteOrderPost.getOrderUrl())) {
+        pushSohoeB2BProduct(productDTO, adwebSites);
+      }
     }
   }