shish 1 anno fa
parent
commit
85967da364
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  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';
         $currentEndTime = $currentEndDate . ' 23:59:59';
 
 
         $where = ['mainId' => $this->mainId];
         $where = ['mainId' => $this->mainId];
-        $where['addTime'] = ['between', [$currentStartTime, $currentEndTime]];
-
+        $where['payTime'] = ['between', [$currentStartTime, $currentEndTime]];
         $list = ExpendClass::getAllByCondition($where, null, '*', null);
         $list = ExpendClass::getAllByCondition($where, null, '*', null);
         $arr = [];
         $arr = [];
         $cat = [];
         $cat = [];