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

地方

@@ -43,7 +43,7 @@ class CollocationModel extends Model @@ -43,7 +43,7 @@ class CollocationModel extends Model
43 ->alias('c') 43 ->alias('c')
44 ->field('c.*,i_c.insurance_company_name') 44 ->field('c.*,i_c.insurance_company_name')
45 ->join('cmf_insurance_company i_c','i_c.id = c.insurance_company_id') 45 ->join('cmf_insurance_company i_c','i_c.id = c.insurance_company_id')
46 - ->where($where)->find()->toArray(); 46 + ->where($where)->find();
47 return $data; 47 return $data;
48 } 48 }
49 } 49 }
@@ -44,7 +44,7 @@ class SubjoinInsuranceModel extends Model @@ -44,7 +44,7 @@ class SubjoinInsuranceModel extends Model
44 } 44 }
45 public function selectData2($where){ 45 public function selectData2($where){
46 $where['delete_time'] = ['eq',0]; 46 $where['delete_time'] = ['eq',0];
47 - $data = $this->where($where)->select(); 47 + $data = $this->where($where)->select()->toArray();
48 return $data; 48 return $data;
49 } 49 }
50 public function findData($where){ 50 public function findData($where){