wanghousheng 8 months ago
parent 8098c9ed85
commit ceb7fa5099
  1. 2
      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);
}

Loading…
Cancel
Save