From ceb7fa50995584c2b26680cdfe953548914ee443 Mon Sep 17 00:00:00 2001 From: wanghousheng Date: Fri, 29 Mar 2024 23:02:13 +0800 Subject: [PATCH] 1 --- app/common/model/Goods.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/model/Goods.php b/app/common/model/Goods.php index a6e996b8..a853c4d1 100644 --- a/app/common/model/Goods.php +++ b/app/common/model/Goods.php @@ -479,7 +479,7 @@ class Goods extends BaseModel if (isset($param['profit_rate_max']) && $param['profit_rate_max'] !== '') { $filter[] = ['goods.profit_rate', '<=', $params['profit_rate_max']]; } - $filter[] = ['is_delete', '=', 0]; + $filter[] = ['goods.is_delete', '=', 0]; // 实例化新查询对象 return $query->where($filter); }