소스 검색

车房奖计算查询条件修改

kevin_zhangl 3 년 전
부모
커밋
c167d43755
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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()