浏览代码

Merge tag 'hotfix_231003_2' into develop

hotfix_231003_2
feature/souke
Guillaume Bourgeois 1年前
父节点
当前提交
b9beae8670
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      common/logic/Distribution/ProductDistribution/Service/ProductDistributionBuilder.php

+ 2
- 1
common/logic/Distribution/ProductDistribution/Service/ProductDistributionBuilder.php 查看文件

@@ -105,9 +105,10 @@ class ProductDistributionBuilder extends AbstractBuilder
$distributionsIncomingArray = $this->distributionRepository->findDistributionsIncoming(true);
foreach($distributionsIncomingArray as $distribution) {
ProductDistribution::updateAll([
'active' => false
], [
'id_product' => $product->id,
'id_distribution' => $distribution->id,
'active' => false
]);
}
}

正在加载...
取消
保存