Ver Fonte

季度奖相关

theo há 3 anos atrás
pai
commit
c2044b61e7
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      common/helpers/bonus/BonusCalc.php

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

@@ -1657,7 +1657,7 @@ class BonusCalc extends BaseObject {
         if( !$this->_isCalcMonth || !in_array($this->_calcMonth, [3,6,9,12])) {
         if( !$this->_isCalcMonth || !in_array($this->_calcMonth, [3,6,9,12])) {
             // 不是结算月,则不进行计算
             // 不是结算月,则不进行计算
             print_r('不是季结点,进这里,不计算季度奖');
             print_r('不是季结点,进这里,不计算季度奖');
-            return false;
+            return true;
         }
         }
         $result = \Yii::$app->db->createCommand("CALL QtrCalc(:periodNum)")
         $result = \Yii::$app->db->createCommand("CALL QtrCalc(:periodNum)")
             ->bindValue(':periodNum' , $this->_periodNum )
             ->bindValue(':periodNum' , $this->_periodNum )