shish 2 anni fa
parent
commit
a9792dd493
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      biz-ghs/stat/classes/StatCgClass.php

+ 1 - 1
biz-ghs/stat/classes/StatCgClass.php

@@ -44,7 +44,6 @@ class StatCgClass extends BaseClass
         $cgWhere['entryTime'] = ['between', [$currentStartTime, $currentEndTime]];
         $cgList = PurchaseOrderClass::getAllByCondition($cgWhere, null, '*');
         $arr = [];
-        print_r($cgList);
         if (!empty($cgList)) {
             foreach ($cgList as $cgKey => $cgInfo) {
                 $orderSn = $cgInfo['orderSn'] ?? '';
@@ -58,6 +57,7 @@ class StatCgClass extends BaseClass
                         $unitPrice = $val->bigPrice ?? 0;
                         $name = $productInfo[$productId]['name'] ?? '';
                         $py = $productInfo[$productId]['py'] ?? '';
+                        echo $remainNum.' '.$unitPrice;die;
                         if (isset($arr[$productId])) {
                             $totalPrice = bcmul($remainNum, $unitPrice, 2);
                             $arr[$productId]['num'] = bcadd($arr[$productId]['num'], $remainNum);