Ver Fonte

制作单搜索

shish há 4 anos atrás
pai
commit
68ff81e9c4
1 ficheiros alterados com 6 adições e 0 exclusões
  1. 6 0
      app-hd/controllers/WorkController.php

+ 6 - 0
app-hd/controllers/WorkController.php

@@ -67,6 +67,12 @@ class WorkController extends BaseController
                 }
             }
         }
+        if (isset($get['sn']) && !empty($get['sn']) && is_numeric($get['sn'])) {
+            $where['sn'] = $get['sn'];
+        }
+        if (isset($get['thirdSn']) && !empty($get['thirdSn']) && is_numeric($get['thirdSn'])) {
+            $where['thirdSn'] = $get['thirdSn'];
+        }
 
         $list = WorkClass::getWorkList($where);
         $list['today'] = date("Y-m-d");