wugg há 3 anos atrás
pai
commit
f9764ea4a9
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/admin/controller/Allot.php

+ 1 - 1
app/admin/controller/Allot.php

@@ -70,7 +70,7 @@ class Allot extends BaseController
             $where[]=['wsm_in',"in",$wsmcode];
         }
         $status = isset($this->post['status']) && $this->post['status']!=="" ? intval($this->post['status']):"";
-        if($status!=""){
+        if($status!==""){
             $where[]=['status',"=",$status];
         }
         $count = Db::name('allot_stock')->where($where)->count();