shish 1 год назад
Родитель
Сommit
85967da364
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      app-ghs/controllers/ExpendController.php

+ 1 - 2
app-ghs/controllers/ExpendController.php

@@ -37,8 +37,7 @@ class ExpendController extends BaseController
         $currentEndTime = $currentEndDate . ' 23:59:59';
 
         $where = ['mainId' => $this->mainId];
-        $where['addTime'] = ['between', [$currentStartTime, $currentEndTime]];
-
+        $where['payTime'] = ['between', [$currentStartTime, $currentEndTime]];
         $list = ExpendClass::getAllByCondition($where, null, '*', null);
         $arr = [];
         $cat = [];