作者 王晓刚
1 个管道 的构建 通过 耗费 0 秒

地方

... ... @@ -43,7 +43,7 @@ class CollocationModel extends Model
->alias('c')
->field('c.*,i_c.insurance_company_name')
->join('cmf_insurance_company i_c','i_c.id = c.insurance_company_id')
->where($where)->find()->toArray();
->where($where)->find();
return $data;
}
}
\ No newline at end of file
... ...
... ... @@ -44,7 +44,7 @@ class SubjoinInsuranceModel extends Model
}
public function selectData2($where){
$where['delete_time'] = ['eq',0];
$data = $this->where($where)->select();
$data = $this->where($where)->select()->toArray();
return $data;
}
public function findData($where){
... ...