shish 3 years ago
parent
commit
606a7aadbc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      biz/shop/classes/ShopExtClass.php

+ 1 - 1
biz/shop/classes/ShopExtClass.php

@@ -27,7 +27,7 @@ class ShopExtClass extends BaseClass
         $workList = WorkClass::getAllByCondition(['orderId' => $order->id], null, '*', null, true);
         $workList = WorkClass::getAllByCondition(['orderId' => $order->id], null, '*', null, true);
         if (!empty($workList)) {
         if (!empty($workList)) {
             foreach ($workList as $work) {
             foreach ($workList as $work) {
-                if ($work->preNum > $work->num && $work->status == 0) {
+                if ($work->status == 0) {
                     $sh = $work->sh ?? 0;
                     $sh = $work->sh ?? 0;
                     if ($sh == 0) {
                     if ($sh == 0) {
                         $hasHs = 1;
                         $hasHs = 1;