rabin 9 months ago
parent
commit
6f145748ac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/dai/seller/lib/Manage.php

+ 1 - 1
src/dai/seller/lib/Manage.php

@@ -549,7 +549,7 @@ class Manage extends Auth
         foreach ($data['body'] as $k => $v) {
             //$v['sku_id']
             $goods_name = Dever::load("manage", "goods")->showGoodsInfo($v['goods_id'], false);
-            $card = Dever::db('card', 'channel')->select(array('order_id' => $v['id']));
+            $card = Dever::db('card', 'channel')->select(array('order_id' => $v['id'], 'status' => 1));
             if ($card) {
                 foreach ($card as $k1 => $v1) {
                     $result['body'][] = array($v['id'], $v['order_num'], $goods_name, $v['cash'], $v1['number'], $v1['pwd'], date('Y-m-d H:i:s'));