Kirin 3 주 전
부모
커밋
9a6c952ff2
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      app/services/user/UserBillServices.php
  2. 1 1
      app/services/user/UserBrokerageServices.php
  3. 1 1
      app/services/user/UserMoneyServices.php

+ 1 - 1
app/services/user/UserBillServices.php

@@ -133,7 +133,7 @@ class UserBillServices extends BaseServices
         if (isset($where['uid']) && $where['uid'] != '') {
             $where_data['uid'] = $where['uid'];
         }
-        if ($where['start_time'] != '' && $where['end_time'] != '') {
+        if (($where['start_time'] ?? '') != '' && ($where['end_time'] ?? '') != '') {
             $where_data['time'] = str_replace('-', '/', $where['start_time']) . ' - ' . str_replace('-', '/', $where['end_time']);
         }
         if (isset($where['type']) && $where['type'] != '') {

+ 1 - 1
app/services/user/UserBrokerageServices.php

@@ -229,7 +229,7 @@ class UserBrokerageServices extends BaseServices
         if (isset($where['uid']) && $where['uid'] != '') {
             $where_data['uid'] = $where['uid'];
         }
-        if ($where['start_time'] != '' && $where['end_time'] != '') {
+        if (($where['start_time'] ?? '') != '' && ($where['end_time'] ?? '') != '') {
             $where_data['time'] = str_replace('-', '/', $where['start_time']) . ' - ' . str_replace('-', '/', $where['end_time']);
         }
         if (isset($where['type']) && $where['type'] != '') {

+ 1 - 1
app/services/user/UserMoneyServices.php

@@ -121,7 +121,7 @@ class UserMoneyServices extends BaseServices
         if (isset($where['uid']) && $where['uid'] != '') {
             $where_data['uid'] = $where['uid'];
         }
-        if ($where['start_time'] != '' && $where['end_time'] != '') {
+        if (($where['start_time'] ?? '') != '' && ($where['end_time'] ?? '') != '') {
             $where_data['time'] = str_replace('-', '/', $where['start_time']) . ' - ' . str_replace('-', '/', $where['end_time']);
         }
         if (isset($where['type']) && $where['type'] != '') {