Prechádzať zdrojové kódy

车房奖计算查询条件修改

kevin_zhangl 3 rokov pred
rodič
commit
c167d43755
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      common/helpers/bonus/BonusCalc.php

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

@@ -1774,7 +1774,7 @@ class BonusCalc extends BaseObject {
         // 基于团队奖/绩效奖结果计算会员的StarCrown
         $userStarCrown = CalcBonusQY::find()
             ->yearMonth($this->_calcYearMonth)
-            ->where('CALC_MONTH = :CALC_MONTH AND PERIOD_NUM = :PERIOD_NUM', [':CALC_MONTH' => $this->_calcYearMonth, ':PERIOD_NUM' => $this->_periodNum])
+            ->where('CALC_MONTH = :CALC_MONTH', [':CALC_MONTH' => $this->_calcYearMonth])
             ->select('USER_ID,LAST_DEC_LV,LAST_EMP_LV,LAST_STAR_LV,LAST_STATUS')
             ->groupBy('USER_ID')
             ->asArray()