shish 4 년 전
부모
커밋
11b8566905
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      app-hd/controllers/OrderController.php

+ 2 - 2
app-hd/controllers/OrderController.php

@@ -817,9 +817,9 @@ class OrderController extends BaseController
         }
         if (isset($get['searchText']) && !empty($get['searchText'])) {
             if (is_numeric($get['searchText'])) {
-                $where['sendNum'] = $get['sendNum'];
+                $where['sendNum'] = $get['searchText'];
             } else {
-                $where['bookName'] = $get['bookName'];
+                $where['bookName'] = $get['searchText'];
             }
         }
         if (!empty($search)) {