修复查询异常
This commit is contained in:
parent
5c6dfffef7
commit
2ac7718aa1
@ -117,7 +117,6 @@ class ProductDao extends BaseDao
|
||||
$whereArr[$key] = $item;
|
||||
}
|
||||
}
|
||||
// halt($where);
|
||||
$query = isset($where['soft']) ? model::onlyTrashed()->alias('Product') : model::alias('Product');
|
||||
if (isset($where['is_trader']) && $where['is_trader'] !== '') {
|
||||
$query->hasWhere('merchant', function ($query) use ($where) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user