$list = $model->findAll('cate_id=:cate_id AND type=:type', array(
':cate_id' => $cate_id,
':type' => $type,
));
foreach($list as $k=>$v) {
$lists[$k]=$v->attributes;
$lists[$k]['synonym'] =ArticlesKeywords::model()->findAll('articles_ready_id=:ready_id', array(
':ready_id' => $v['id'],
));
}