Commit 27a27aa2 authored by hujun's avatar hujun

o_real_income

parent 83ecaf88
...@@ -1406,6 +1406,7 @@ class OBargainModel extends Model ...@@ -1406,6 +1406,7 @@ class OBargainModel extends Model
->field($filed) ->field($filed)
->alias("a") ->alias("a")
->join("o_partial_commission b", "a.id = b.bargain_id", "left") ->join("o_partial_commission b", "a.id = b.bargain_id", "left")
->join("o_real_income c", "b.real_income_id = c.id", "left")
->where($where_) ->where($where_)
->whereOr($whereOr_) ->whereOr($whereOr_)
->order("a.id asc") ->order("a.id asc")
......
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