Browse Source

次日达导入时增加共享标记

liyuan 7 months ago
parent
commit
a7309adc5d

+ 1 - 0
blade-service/blade-sales-part/src/main/java/org/springblade/salesPart/share/service/impl/SharePutOnShelvesServiceImpl.java

@@ -959,6 +959,7 @@ public class SharePutOnShelvesServiceImpl extends ServiceImpl<SharePutOnShelvesM
 				throw new RuntimeException("未找到所属公司");
 			}
 			goodsDesc.setWhetherIntegral("0");
+			goodsDesc.setShared(1);
 			if (!goodsDescList.isEmpty()) {
 				PjGoodsDesc goodsDetail = goodsDescList.stream().filter(e -> e.getCode().equals(item.getGoodsName())).findFirst().orElse(null);
 				if (goodsDetail == null) {