|
|
@@ -19,7 +19,7 @@ class ItemClass extends BaseClass
|
|
|
public static function errorPrice($shop)
|
|
|
{
|
|
|
$mainId = $shop->mainId ?? 0;
|
|
|
- $itemList = ItemClass::getAllByCondition(['mainId' => $mainId, 'delStatus' => 0], null, '*');
|
|
|
+ $itemList = ItemClass::getAllByCondition(['mainId' => $mainId, 'delStatus' => 0, 'status' => 1], null, '*');
|
|
|
$arr = [];
|
|
|
if (!empty($itemList)) {
|
|
|
foreach ($itemList as $item) {
|