String sql =String.format("select "+"mg.is_read,mg.group_id,cgd.sender_id,cgd.target_id,mg.group_name,mg.intention_type,mg.chat_type,mg.short_msg,mg.group_avatar,mg.avoid_disturbance,mg.update_time"+",cgd.id,cgd.title,cgd.message,cgd.sender_avatar_name"+",cgd.thumbnail_path,cgd.video_path,cgd.audio_path,cgd.img_path,cgd.file_path,cgd.sent_time,cgd.extra,"+"cgd.uuid,cgd.received_status,cgd.sent_status,cgd.media_type"+" from %s as mg left join %s as cgd on mg.group_id = cgd.group_id where mg.group_id = '%s' and cgd.id = %s;", MSG_GROUP, CHAT_GROUP_DETAIL, groupId, id);