return Product::model()->findAllByAttributes(array('CODE_PAR' => $code_par));
WHERE CODE != 'x'
return Product::model()->findAllByAttributes('CODE_PAR != :code_par', array(':code_par' => $code_par));
Person::model()->findByAttributes(
array('first_name'=>$firstName,'last_name'=>$lastName),
array(
'condition'=>'status != :status',
'params'=>array(':status'=>1)
)
);