Browse Source

停止更新库存outPrice价格

shensong 5 years ago
parent
commit
d65ab60ec5
1 changed files with 2 additions and 2 deletions
  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
                 //实际库存=库存-冻结