|
|
@@ -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()
|