diff --git a/crmeb/app/model/other/Express.php b/crmeb/app/model/other/Express.php index 989d3f960..8e6b19aa2 100644 --- a/crmeb/app/model/other/Express.php +++ b/crmeb/app/model/other/Express.php @@ -72,7 +72,7 @@ class Express extends BaseModel public function searchCodeAttr($query, $value) { - if ($value === '') { + if ($value !== '') { $query->where('code', $value); } }