theo 3 жил өмнө
parent
commit
c2044b61e7

+ 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])) {
             // 不是结算月,则不进行计算
             print_r('不是季结点,进这里,不计算季度奖');
-            return false;
+            return true;
         }
         $result = \Yii::$app->db->createCommand("CALL QtrCalc(:periodNum)")
             ->bindValue(':periodNum' , $this->_periodNum )