wanghousheng 8 months ago
parent c0d67879e1
commit 8098c9ed85
  1. 1
      app/common/model/Goods.php

@ -479,6 +479,7 @@ class Goods extends BaseModel
if (isset($param['profit_rate_max']) && $param['profit_rate_max'] !== '') { if (isset($param['profit_rate_max']) && $param['profit_rate_max'] !== '') {
$filter[] = ['goods.profit_rate', '<=', $params['profit_rate_max']]; $filter[] = ['goods.profit_rate', '<=', $params['profit_rate_max']];
} }
$filter[] = ['is_delete', '=', 0];
// 实例化新查询对象 // 实例化新查询对象
return $query->where($filter); return $query->where($filter);
} }

Loading…
Cancel
Save