优化search

This commit is contained in:
吴昊天 2023-03-20 14:25:38 +08:00
parent f40cdf47b6
commit d4a9167edb

View File

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