feat(SystemStoreStorageLists): 修改查询条件,增加状态大于等于0的记录查询
This commit is contained in:
parent
7f4decf79a
commit
3b166e5701
@ -47,7 +47,7 @@ class SystemStoreStorageLists extends BaseAdminDataLists implements ListsSearchI
|
||||
{
|
||||
$this->searchWhere[] = ['store_id','=',$this->adminInfo['store_id']];//只显示当前门店的入库记录
|
||||
if($this->request->__get('status')==-1){
|
||||
$this->searchWhere[] = ['status','>',0];
|
||||
$this->searchWhere[] = ['status','>=',0];
|
||||
}
|
||||
return SystemStoreStorage::where($this->searchWhere)
|
||||
->field(['id', 'store_id', 'admin_id', 'staff_id', 'product_id', 'nums','mark', 'status'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user