Browse Source

修改车房奖级别奖金

kevin_zhangl 3 năm trước cách đây
mục cha
commit
c2c4cd86f0
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      common/helpers/bonus/BonusCalc.php

+ 2 - 2
common/helpers/bonus/BonusCalc.php

@@ -1703,7 +1703,7 @@ class BonusCalc extends BaseObject {
             }
 
             // 会员级别+聘级都达到要求才会发放奖金
-            if (in_array($userStarDirectorObj[$userId]['LAST_DEC_LV'], $minDecLevel) && in_array($userStarDirectorObj[$userId]['LEVEL_ID'], $minEmpLevel)) {
+            if (in_array($userStarDirectorObj[$userId]['LAST_DEC_LV'], $minDecLevel)) {
                 // 放入缓存
                 CalcCache::tourismBonus($userId, $this->_periodNum, $amount);
                 // 加入月奖的会员
@@ -1800,7 +1800,7 @@ class BonusCalc extends BaseObject {
             $amount = ($amount > $capBonus) ? $capBonus : $amount;
 
             // 会员级别+聘级都达到要求才会发放奖金
-            if (in_array($userStarDirectorObj[$userId]['LAST_DEC_LV'], $minDecLevel) && in_array($userStarDirectorObj[$userId]['LEVEL_ID'], $minEmpLevel)) {
+            if (in_array($userStarDirectorObj[$userId]['LAST_DEC_LV'], $minDecLevel)) {
                 // 放入缓存
                 CalcCache::garageBonus($userId, $this->_periodNum, $amount);
                 // 加入月奖的会员