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

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

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