Commit 36263042 authored by zw's avatar zw

1

parent 77ed5ca2
......@@ -434,7 +434,8 @@ class OPayLogModel extends Model
return $this->db_->field($filed)
->alias("a")
->join("o_order b", "a.order_id = b.id", "left")
->join("o_bargain c", "c.order_id = b.id", "left")
// ->join("o_bargain c", "c.order_id = b.id", "left")
->join("o_bargain c", "c.id = a.bargain_id", "left")
->join("o_report d", "a.report_id = d.id", "left")
->where($params)
->group("a.id")
......
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