Sfoglia il codice sorgente

1725 往期奖金加入备份时间筛选

kevin_zhangl 3 anni fa
parent
commit
4044b4a6e3
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      backendApi/modules/v1/controllers/BonusController.php

+ 2 - 2
backendApi/modules/v1/controllers/BonusController.php

@@ -841,7 +841,7 @@ class BonusController extends BaseController {
         }
         $data = $this->_periodBonus($periodNum,false);
         if( isset($data['filterTypes']) && is_array($data['filterTypes']) ) {
-            $data['filterTypes'] = array_merge(['periodNum'=>['isUserTable'=> false, 'name'=> '结算期数']], $data['filterTypes']);
+            $data['filterTypes'] = array_merge(['periodNum'=>['isUserTable'=> false, 'name'=> 'Number of settlement periods']], $data['filterTypes']);
         }
 
         return static::notice($data);
@@ -929,7 +929,7 @@ class BonusController extends BaseController {
      */
     private function _periodBonus($periodNum,$periodFilter = true) {
         $filter = $this->filterCondition([
-            'periodNum' => 'CB.PERIOD_NUM',
+            'PERIOD_NUM' => 'CB.PERIOD_NUM',
             'LAST_USER_NAME' => 'CB.LAST_USER_NAME',
             'LAST_REAL_NAME' => 'CB.LAST_REAL_NAME',
             'LAST_DEC_LV_NAME' => 'CB.LAST_DEC_LV',