SELECT
    id, 
    dialogues_id, 
    dialogues_type, 
    member_id, 
    is_deleted, 
    title, 
    file_url,
    CREATOR,
    CREATED_TIME,
    MODIFIER,
    MODIFIED_TIME,
    SYS_VERSION
FROM
    biz_ai_dialogues
WHERE 1=1

<<    AND id =  :id    >>
<<    AND dialogues_id = :dialoguesId>>
<<    AND dialogues_type in (:dialoguesTypeList)>>
<<    AND member_id = :memberId>>
<<    AND is_deleted = :isDeleted>>