|
|
@@ -43,7 +43,7 @@ use yii\base\StaticInstanceTrait;
|
|
|
class PerfCalc {
|
|
|
use StaticInstanceTrait;
|
|
|
|
|
|
- private $_limit = 10000;
|
|
|
+ private $_limit = 5000;
|
|
|
private $_handleUserId;
|
|
|
private $_companyMonthPerf = 0;
|
|
|
private $_cfTotalPercent = 0;
|
|
|
@@ -300,8 +300,8 @@ class PerfCalc {
|
|
|
// // //达标业绩入库
|
|
|
// $this->loopWriteStandardPerf();
|
|
|
$t9 = microtime(true);
|
|
|
- echo('本月业绩入库完成,耗时:' . round($t9 - $t8, 3) . ',内存使用:' . (round(memory_get_usage() / 1024 / 1024, 3)) . 'MB' . PHP_EOL);
|
|
|
- $this->_updatePercent(95);
|
|
|
+// echo('本月业绩入库完成,耗时:' . round($t9 - $t8, 3) . ',内存使用:' . (round(memory_get_usage() / 1024 / 1024, 3)) . 'MB' . PHP_EOL);
|
|
|
+// $this->_updatePercent(95);
|
|
|
|
|
|
|
|
|
// 通过插入到perforder中的业绩订单数据,生成此业绩期活跃用户数据
|