|
@@ -23,7 +23,7 @@ class Stock extends Base
|
|
|
$page = isset($this->post['page'])&&$this->post['page']!="" ? intval($this->post['page']) : 1;
|
|
|
$size = isset($this->post['size'])&&$this->post['size']!="" ? intval($this->post['size']) :10;
|
|
|
$status = isset($this->post['status'])&&$this->post['status']!=="" ? intval($this->post['status']) :"";
|
|
|
- $where=['a.is_del'=>0];
|
|
|
+ $where=['a.is_del'=>0,'d.is_del'=>0];
|
|
|
if($status!==""){
|
|
|
$where['a.status'] = $status;
|
|
|
}
|