wzh 5 年之前
父節點
當前提交
493fb50079
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      api/application/controllers/Lampcontrol.php

+ 2 - 2
api/application/controllers/Lampcontrol.php

@@ -46,9 +46,9 @@ class Lampcontrol extends Base_Controller {
             
             if ($type == 2) {
                 $filter['L.manu'] = $company;
-            }elseif ($type == 2) {
-                $filter['L.supplier'] = $company;
             }elseif ($type == 3) {
+                $filter['L.supplier'] = $company;
+            }elseif ($type == 4) {
                 $filter['L.po'] = $company;
             }else {
                 $filter['L.upazilla'] = $company;