Parcourir la source

更新用户级别bugfix

kevin_zhangl il y a 3 ans
Parent
commit
fccd5844cb
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      common/helpers/bonus/BonusSend.php

+ 3 - 0
common/helpers/bonus/BonusSend.php

@@ -588,6 +588,9 @@ class BonusSend extends BaseObject {
                         // 蓝星奖计算的最新聘级
                         $latestEmpLv = $data['LEVEL_ID'];    // 本期计算最新管理级别
                         $latestEmpLvSort = $empLv[$latestEmpLv]; // 当前蓝星计算的聘级 级别值
+                        if ($defaultEmpLv == $latestEmpLv) {
+                            continue;
+                        }
                         // 用户存储的最高聘级
                         $user = CalcCache::getUserInfo($data['USER_ID'], $this->_periodNum);
                         $highestEmpLv = $user['EMP_LV']; // 用户的历史最高聘级