<query id="getDocumentList" action="select">
    <tables>
        <table name="documents" />
    </tables>
    <columns>
        <column name="*" />
    </columns>
    <conditions>
        <condition operation="in" column="module_srl" var="module_srl" filter="number" />
        <condition operation="equal" column="category_srl" var="category_srl" pipe="and" />
        <group pipe="and">
            <condition operation="like" column="title" var="s_title" />
            <condition operation="like" column="content" var="s_content" pipe="or" />
            <condition operation="like" column="user_name" var="s_user_name" pipe="or" />
            <condition operation="like" column="user_id" var="s_user_id" pipe="or" />
            <condition operation="like" column="nick_name" var="s_nick_name" pipe="or" />
            <condition operation="like" column="email_address" var="s_email_addres" pipe="or" />
            <condition operation="like" column="homepage" var="s_homepage" pipe="or" />
            <condition operation="like" column="tags" var="s_tags" pipe="or" />
            <condition operation="equal" column="is_notice" var="s_is_notice" pipe="or" />
            <condition operation="equal" column="is_secret" var="s_is_secret" pipe="or" />
            <condition operation="equal" column="member_srl" var="s_member_srl" pipe="or" />
            <condition operation="more" column="readed_count" var="s_readed_count" pipe="or" />
            <condition operation="more" column="voted_count" var="s_voted_count" pipe="or" />
            <condition operation="more" column="comment_count" var="s_comment_count" pipe="or" />
            <condition operation="more" column="trackback_count" var="s_trackback_count" pipe="or" />
            <condition operation="more" column="uploaded_count" var="s_uploaded_count" pipe="or" />
            <condition operation="like_prefix" column="regdate" var="s_regdate" pipe="or" />
            <condition operation="like_prefix" column="last_update" var="s_last_update" pipe="or" />
            <condition operation="like_prefix" column="ipaddress" var="s_ipaddress" pipe="or" />
            <condition operation="like" column="extra_vars1" var="s_extra_vars1" pipe="or" />
            <condition operation="like" column="extra_vars2" var="s_extra_vars2" pipe="or" />
            <condition operation="like" column="extra_vars3" var="s_extra_vars3" pipe="or" />
            <condition operation="like" column="extra_vars4" var="s_extra_vars4" pipe="or" />
            <condition operation="like" column="extra_vars5" var="s_extra_vars5" pipe="or" />
            <condition operation="like" column="extra_vars6" var="s_extra_vars6" pipe="or" />
            <condition operation="like" column="extra_vars7" var="s_extra_vars7" pipe="or" />
            <condition operation="like" column="extra_vars8" var="s_extra_vars8" pipe="or" />
            <condition operation="like" column="extra_vars9" var="s_extra_vars9" pipe="or" />
            <condition operation="like" column="extra_vars10" var="s_extra_vars10" pipe="or" />
            <condition operation="like" column="extra_vars11" var="s_extra_vars11" pipe="or" />
            <condition operation="like" column="extra_vars12" var="s_extra_vars12" pipe="or" />
            <condition operation="like" column="extra_vars13" var="s_extra_vars13" pipe="or" />
            <condition operation="like" column="extra_vars14" var="s_extra_vars14" pipe="or" />
            <condition operation="like" column="extra_vars15" var="s_extra_vars15" pipe="or" />
            <condition operation="like" column="extra_vars16" var="s_extra_vars16" pipe="or" />
            <condition operation="like" column="extra_vars17" var="s_extra_vars17" pipe="or" />
            <condition operation="like" column="extra_vars18" var="s_extra_vars18" pipe="or" />
            <condition operation="like" column="extra_vars19" var="s_extra_vars19" pipe="or" />
            <condition operation="like" column="extra_vars20" var="s_extra_vars20" pipe="or" />
        </group>
        <group pipe="and">
            <condition operation="more" column="last_update" var="start_date" pipe="and" />
            <condition operation="less" column="last_update" var="end_date" pipe="and" />
        </group>
    </conditions>
    <navigation>
        <index var="sort_index" default="list_order" order="order_type" />
        <list_count var="list_count" default="20" />
        <page_count var="page_count" default="10" />
        <page var="page" default="1" />
    </navigation>
</query>
