吴昊天 пре 2 година
родитељ
комит
d4a9167edb
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      crmeb/app/dao/BaseDao.php

+ 3 - 1
crmeb/app/dao/BaseDao.php

@@ -309,7 +309,9 @@ abstract class BaseDao
             if ($responses->hasMethod($method)) {
             if ($responses->hasMethod($method)) {
                 $with[] = $key;
                 $with[] = $key;
             } else {
             } else {
-                $otherWhere[] = $value;
+                if ($key != 'timeKey') {
+                    $otherWhere[] = $value;
+                }
             }
             }
         }
         }
         return [$with, $otherWhere];
         return [$with, $otherWhere];