Преглед на файлове

先去掉计算聘级,聘级由蓝星奖衔生成

zxiansheng преди 4 години
родител
ревизия
8563e72d91
променени са 1 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. 4 2
      common/helpers/bonus/PerfCalc.php

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

@@ -160,10 +160,12 @@ class PerfCalc {
             $this->_updatePercent(80);
             $this->_updatePercent(80);
 
 
             //每月计算聘级
             //每月计算聘级
-            $this->loopCalcEmpLevel();
+            // modify 聘级字段改成蓝星奖的  奖衔级别(蓝星奖的等级).不在使用荣衔奖金.聘级的等级切换成蓝星奖等级,
+            // 此等级会影响团队将的封顶.
+            //$this->loopCalcEmpLevel();
             $t8 = microtime(true);
             $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);
+            //$this->_updatePercent(90);
 
 
             //本月业绩入库
             //本月业绩入库
             $this->loopWriteMonthPerf();
             $this->loopWriteMonthPerf();