root 3 jaren geleden
bovenliggende
commit
27cd5069ba
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2 1
      common/helpers/bonus/CalcServePerfCalc.php

+ 2 - 1
common/helpers/bonus/CalcServePerfCalc.php

@@ -168,13 +168,14 @@ class CalcServePerfCalc {
             if($this->_isCalcMonth) {
             if($this->_isCalcMonth) {
                 ServeProcess::recordProcess($t7, $t8, $this->_periodNum, '本月业绩入库完成');
                 ServeProcess::recordProcess($t7, $t8, $this->_periodNum, '本月业绩入库完成');
             }
             }
-            $this->_updatePercent(100);
+            $this->_updatePercent(90);
             
             
 
 
             //十二、期业绩表,增加是否活跃字段
             //十二、期业绩表,增加是否活跃字段
             $this->loopUpdatePeriodActive();
             $this->loopUpdatePeriodActive();
             $t9 = microtime(true);
             $t9 = microtime(true);
             echo(date('Y-m-d H:i:s',time()).'期业绩表活跃状态更新完成,耗时:' . round($t9 - $t8, 3) . ',内存使用:' . (round(memory_get_usage() / 1024 / 1024, 3)) . 'MB' . PHP_EOL);
             echo(date('Y-m-d H:i:s',time()).'期业绩表活跃状态更新完成,耗时:' . round($t9 - $t8, 3) . ',内存使用:' . (round(memory_get_usage() / 1024 / 1024, 3)) . 'MB' . PHP_EOL);
+            $this->_updatePercent(100);
 
 
             ServeProcess::recordProcess($t6, $t7, $this->_periodNum, '计算业绩业绩结算全部完成');
             ServeProcess::recordProcess($t6, $t7, $this->_periodNum, '计算业绩业绩结算全部完成');
             echo(date('Y-m-d H:i:s',time()).'计算业绩业绩结算全部完成,共耗时:' . round($t9 - $t1, 3) . ',内存使用:' . (round(memory_get_usage() / 1024 / 1024, 3)) . 'MB' . PHP_EOL);
             echo(date('Y-m-d H:i:s',time()).'计算业绩业绩结算全部完成,共耗时:' . round($t9 - $t1, 3) . ',内存使用:' . (round(memory_get_usage() / 1024 / 1024, 3)) . 'MB' . PHP_EOL);