|
@@ -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();
|