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