|
|
@@ -1047,7 +1047,7 @@ class OrderController extends BaseController
|
|
|
if (!empty($get['shopAdminId'])) {
|
|
|
$where['shopAdminId'] = $get['shopAdminId'];
|
|
|
}
|
|
|
- if ($searchStyle == 1) {
|
|
|
+ if ($searchStyle == 1 && !empty($searchText)) {
|
|
|
$where['sendNum'] = $searchText;
|
|
|
}
|
|
|
if (isset($get['repeat']) && $get['repeat'] > -1) {
|