shish 1 năm trước cách đây
mục cha
commit
85967da364
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  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 = [];