brook 3 年之前
父节点
当前提交
c1edad6647
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      common/helpers/bonus/Calc/BaseBusiness.php

+ 2 - 2
common/helpers/bonus/Calc/BaseBusiness.php

@@ -73,8 +73,8 @@ class BaseBusiness
     public function getMonthsForQuarterly()
     {
         $startTime  = strtotime(date('Y') . '0101');
-        $calcMonth1 = date("Ym", strtotime('+' . ($this->_calcMonth - 1) . ' month', $startTime));
-        $calcMonth2 = date("Ym", strtotime('+' . ($this->_calcMonth - 2) . ' month', $startTime));
+        $calcMonth1 = date('Ym', strtotime('+' . ($this->_calcMonth - 1) . ' month', $startTime));
+        $calcMonth2 = date('Ym', strtotime('+' . ($this->_calcMonth - 2) . ' month', $startTime));
         return [$calcMonth1, $calcMonth2];
     }
 }