Commit 2fd4675e authored by clone's avatar clone

bug

parent 248975b6
...@@ -188,6 +188,7 @@ class OMarchInModel extends Model ...@@ -188,6 +188,7 @@ class OMarchInModel extends Model
->alias("a") ->alias("a")
->join("o_order b", "a.order_id = b.id", "left") ->join("o_order b", "a.order_id = b.id", "left")
->where($where_) ->where($where_)
->order(" a.create_time desc")
->limit(1) ->limit(1)
->select(); ->select();
// echo $this->getLastSql(); // echo $this->getLastSql();
......
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