|
|
@@ -1155,7 +1155,7 @@ class ProductClass extends BaseClass
|
|
|
public static function changeSinglePrice($shop, $ptItemId, $price, $skPrice = null, $hjPrice = null, $params = [])
|
|
|
{
|
|
|
$mainId = $shop->mainId ?? 0;
|
|
|
- $productInfo = ProductClass::getByCondition(['itemId' => $ptItemId, 'mainId' => $mainId], true);
|
|
|
+ $productInfo = ProductClass::getByCondition(['itemId' => $ptItemId, 'mainId' => $mainId, 'delStatus' => 0], true);
|
|
|
if (empty($productInfo)) {
|
|
|
return false;
|
|
|
}
|