shish 1 anno fa
parent
commit
ea3a5f0999
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      biz-ghs/stat/classes/StatSaleClass.php

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

@@ -316,7 +316,7 @@ class StatSaleClass extends BaseClass
             $totalOrderNum++;
             $totalOrderNum++;
         }
         }
 
 
-        $condition = ['mainId' => $mainId, 'addTime' => ['between', [$currentStartTime, $currentEndTime]],];
+        $condition = ['mainId' => $mainId, 'payTime' => ['between', [$currentStartTime, $currentEndTime]],];
 
 
         $salary = 0;
         $salary = 0;
         $salaryList = SalaryClass::getAllByCondition($condition, null, '*', null, true);
         $salaryList = SalaryClass::getAllByCondition($condition, null, '*', null, true);