Prechádzať zdrojové kódy

将达标业绩放开

zxiansheng 4 rokov pred
rodič
commit
3448f31d08
1 zmenil súbory, kde vykonal 4 pridanie a 4 odobranie
  1. 4 4
      common/helpers/bonus/PerfCalc.php

+ 4 - 4
common/helpers/bonus/PerfCalc.php

@@ -165,7 +165,7 @@ class PerfCalc {
             // 此等级会影响团队将的封顶.
             // $this->loopCalcEmpLevel();
             $t8 = microtime(true);
-            echo('计算聘级完成,耗时:' . round($t8 - $t7, 3) . ',内存使用:' . (round(memory_get_usage() / 1024 / 1024, 3)) . 'MB' . PHP_EOL);
+            // echo('计算聘级完成,耗时:' . round($t8 - $t7, 3) . ',内存使用:' . (round(memory_get_usage() / 1024 / 1024, 3)) . 'MB' . PHP_EOL);
             //$this->_updatePercent(90);
 
             //本月业绩入库
@@ -175,11 +175,11 @@ class PerfCalc {
             $this->_updatePercent(90);
 
             // //达标业绩
-            // $this->loopCalcPerfByStandardFXOrder();
+            $this->loopCalcPerfByStandardFXOrder();
             // //达标业绩入库
-            // $this->loopWriteStandardPerf();
+            $this->loopWriteStandardPerf();
             $t9 = microtime(true);
-            //echo('本月业绩入库完成,耗时:' . round($t8 - $t7, 3) . ',内存使用:' . (round(memory_get_usage() / 1024 / 1024, 3)) . 'MB' . PHP_EOL);
+            echo('本月业绩入库完成,耗时:' . round($t9 - $t7, 3) . ',内存使用:' . (round(memory_get_usage() / 1024 / 1024, 3)) . 'MB' . PHP_EOL);
             $this->_updatePercent(95);