Commit 79b00cb8 authored by clone's avatar clone

bug

parent 49c50a67
...@@ -437,7 +437,7 @@ class OBargainModel extends Model ...@@ -437,7 +437,7 @@ class OBargainModel extends Model
*/ */
public function ifBargainNumByOrderId($params){ public function ifBargainNumByOrderId($params){
return Db::table($this->table) return Db::table($this->table)
->select($params) ->where($params)
->count(); ->count();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment