正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
@@ -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){ |
-
请 注册 或 登录 后发表评论