Commit 0ee1e675 authored by zw's avatar zw

11

parent 01abeb8d
...@@ -90,10 +90,11 @@ class FApplyForFee extends BaseModel ...@@ -90,10 +90,11 @@ class FApplyForFee extends BaseModel
$result = $this->db_ $result = $this->db_
->field($field) ->field($field)
->alias("a") ->alias("a")
->join("a_store b","a.store_id = b.id","left") ->join("f_office c","a.office_id = c.id","left")
->join("a_store b","b.office_id = c.id","left")
->where($params) ->where($params)
->select(); ->select();
// echo $this->db_->getLastSql(); //echo $this->db_->getLastSql();
return $result; return $result;
} }
......
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