|
|
@ -597,7 +597,7 @@ class InsurerController extends BaseController |
|
|
|
if($company2_id > 0) { |
|
|
|
if($company2_id > 0) { |
|
|
|
$query->andWhere('company2_id=:company2_id',[':company2_id'=>$company2_id]); |
|
|
|
$query->andWhere('company2_id=:company2_id',[':company2_id'=>$company2_id]); |
|
|
|
} |
|
|
|
} |
|
|
|
echo $query->createCommand()->rawSql; |
|
|
|
// echo $query->createCommand()->rawSql; |
|
|
|
$query = $query->orderBy('updated_at asc'); |
|
|
|
$query = $query->orderBy('updated_at asc'); |
|
|
|
$total = $query->count(); |
|
|
|
$total = $query->count(); |
|
|
|
|
|
|
|
|
|
|
|