|
|
@@ -853,13 +853,14 @@ class BonusCalc extends BaseObject {
|
|
|
}
|
|
|
|
|
|
// 紧缩计算店服务奖,不活跃,则给一个活跃的店铺
|
|
|
- public function calcStoreBonusReduce(int $offset = 0) {
|
|
|
+ public function calcStoreBonusReduce() {
|
|
|
if( !$this->_isCalcMonth ) {
|
|
|
// 不是结算月,则不进行计算
|
|
|
- echo sprintf("时间:[%s]店服务奖金非月节点,不进行计算,当前offset为:【%s】" . PHP_EOL, date('Y-m-d H:i:s', time()) , $offset);
|
|
|
+ echo sprintf("时间:[%s]店服务奖金非月节点,不进行计算" . PHP_EOL, date('Y-m-d H:i:s', time()));
|
|
|
return false;
|
|
|
}
|
|
|
- echo sprintf("时间:[%s]店服务奖金计算--紧缩方式,当前offset为:【%s】" . PHP_EOL, date('Y-m-d H:i:s', time()) , $offset);
|
|
|
+
|
|
|
+ echo sprintf("时间:[%s]店服务奖金计算--紧缩方式" . PHP_EOL, date('Y-m-d H:i:s', time()));
|
|
|
// $allData = CalcCache::getHasPerfUsers($this->_periodNum, $offset, $this->_limit);
|
|
|
$condition = 'PERIOD_NUM=:PERIOD_NUM AND CALC_MONTH=:CALC_MONTH AND IS_STUDIO=:IS_STUDIO';
|
|
|
$params = [
|
|
|
@@ -944,7 +945,7 @@ class BonusCalc extends BaseObject {
|
|
|
}
|
|
|
CalcBonusST::batchInsert($insertBonusData);
|
|
|
unset($allData, $insertBonusData);
|
|
|
- return $this->calcStoreBonusReduce($offset + $this->_limit);
|
|
|
+// return $this->calcStoreBonusReduce($offset + $this->_limit);
|
|
|
}
|
|
|
|
|
|
unset($allData);
|