$where = array(); $where['id'] = array('in', $uid_str); $res = $this->db2->name('user')->where($where)->select();