wugg 2 years ago
parent
commit
01e0d62ffa
1 changed files with 1 additions and 2 deletions
  1. 1 2
      app/admin/controller/Sale.php

+ 1 - 2
app/admin/controller/Sale.php

@@ -274,8 +274,7 @@ class Sale extends Base
                    }
                 }
                 $outstatus=0;
-                $standing_book_da = ['orderCode' =>  $orderCode, 'customer_code' => $customer_code, 'skuCode' => $skuCode,
-                    'updatetime' => date('Y-m-d H:i:s')];
+                $standing_book_da = ['sale_id' => $datainfo, 'customer_code' => $customer_code, 'skuCode' => $skuCode, 'updatetime' => date('Y-m-d H:i:s')];
                 if($is_stock==0){
                     $bol=$this->createCgd($cgd,$standing_book_da);
                     if($bol==false){