摘要: 1 在查询中增加条件 2 3 public function defaultScope()4 {5 return array(6 'condition' => " is_deleted = 0",7 );8 } 阅读全文
posted @ 2015-01-05 14:22 |小赵同学| 阅读(444) 评论(0) 推荐(0) 编辑