一些复杂的项目中我们经常需要进行where条件的组合. 二组where组合语法如下 
$where[‘name’]  = array(‘like’, ‘%thinkphp%’);
$where[‘title’]  = array(‘like’,’%thinkphp%’);
$where[‘_logic’] = ‘or’;
$map[‘_complex’] = $where;	//申明map与where组合 _complex
$map[‘id’]  = array(‘gt’,1);
最终生成sql 
( (namelike’%thinkphp%’)OR(titlelike’%thinkphp%’) ) and id>1