Przeglądaj źródła

Merge branch 'mt' of git.huaml.com:zhh/huahuibao into mt

shizhongqi 4 lat temu
rodzic
commit
b6f23fe4b4
1 zmienionych plików z 6 dodań i 0 usunięć
  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");