|
|
@@ -856,15 +856,12 @@ class BonusCalc extends BaseObject {
|
|
|
public function calcStoreBonusReduce(int $offset = 0) {
|
|
|
if( !$this->_isCalcMonth ) {
|
|
|
// 不是结算月,则不进行计算
|
|
|
- echo sprintf("时间:[%s]店服务奖金非月节点,不进行计算" . PHP_EOL, date('Y-m-d H:i:s', time()));
|
|
|
+ echo sprintf("时间:[%s]店服务奖金非月节点,不进行计算,当前offset为:【%s】" . PHP_EOL, date('Y-m-d H:i:s', time()) , $offset);
|
|
|
return false;
|
|
|
}
|
|
|
-
|
|
|
- echo sprintf("时间:[%s]店服务奖金计算--紧缩方式" . PHP_EOL, date('Y-m-d H:i:s', time()));
|
|
|
+ echo sprintf("时间:[%s]店服务奖金计算--紧缩方式,当前offset为:【%s】" . PHP_EOL, date('Y-m-d H:i:s', time()) , $offset);
|
|
|
$allData = CalcCache::getHasPerfUsers($this->_periodNum, $offset, $this->_limit);
|
|
|
|
|
|
- LoggerTool::debug(json_encode(['calcStoreBonusReduce', count($allData)]));
|
|
|
-
|
|
|
if ($allData) {
|
|
|
$insertBonusData = [];
|
|
|
foreach ($allData as $userId) {
|