Commit f229cd48 authored by clone's avatar clone

1

parent 8e9bad04
......@@ -88,15 +88,22 @@ class FApplyForFee extends BaseModel
* @throws \think\exception\DbException
*/
public function getApplyForFeeList($field,$params){
$result = $this->db_
$result1 = $this->db_
->field($field)
->alias("a")
->join("f_office c","a.office_id = c.id","left")
->join("a_store b","b.office_id = c.id","left")
->where($params)
->select();
$result2 = $this->db_
->field($field)
->alias("a")
->join("f_apply_for_fee b","a.store_id = b.id","left")
->select();
array_merge($result1,$result2);
//echo $this->db_->getLastSql();
return $result;
return $result1;
}
/**
......
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