摘要: $criteria = new CDbCriteria; $criteria->addCondition("id=1"); //查询条件,即where id = 1 $criteria->addInCondition('id', array(1,2,3,4,5)); //代表where ... 阅读全文
posted @ 2015-02-10 09:45 _木子 阅读(286) 评论(0) 推荐(0) 编辑