ソースを参照

停止更新库存outPrice价格

shensong 5 年 前
コミット
d65ab60ec5
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 2 2
      app/Console/Commands/SyncMjWarehouse.php

+ 2 - 2
app/Console/Commands/SyncMjWarehouse.php

@@ -70,10 +70,10 @@ class SyncMjWarehouse extends Command {
70 70
                 $up['totalCost'] = isset($sku['totalCost']) ? $sku['totalCost'] : 0;
71 71
                 if($up['quantity'] != 0 ){
72 72
                     $up['realPrice'] = $up['totalCost'] / $up['quantity'];
73
-                    $up['outPrice'] = ceil($up['realPrice'] * 115)/100;
73
+//                    $up['outPrice'] = ceil($up['realPrice'] * 115)/100;
74 74
                 } else {
75 75
                     $up['realPrice'] = 0;
76
-                    $up['outPrice'] = 0;
76
+//                    $up['outPrice'] = 0;
77 77
                 }
78 78
                 $up['cost'] = isset($sku['cost']) ? $sku['cost'] : 0;
79 79
                 //实际库存=库存-冻结