<query id="getTotalCommentList" action="select">
    <tables>
        <table name="comments" alias="comments" />
    </tables>
    <columns>
        <column name="*" />
    </columns>
    <conditions>
        <condition operation="in" column="module_srl" var="s_module_srl" />
        <condition operation="notin" column="module_srl" var="exclude_module_srl" pipe="and" />
        <condition operation="equal" column="is_secret" var="s_is_secret" pipe="and" />
        <condition operation="equal" column="status" var="s_is_published" pipe="and" />
        <group pipe="and">
            <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="nick_name" var="s_nick_name" pipe="or" />
            <condition operation="like" column="email_address" var="s_email_address" pipe="or" />
            <condition operation="like" column="homepage" var="s_homepage" pipe="or" />
            <condition operation="equal" column="member_srl" var="s_member_srl" pipe="or" />
            <condition operation="like_prefix" column="regdate" var="s_regdate" pipe="or" />
            <condition operation="like_prefix" column="last_update" var="s_last_upate" pipe="or" />
            <condition operation="like_prefix" column="ipaddress" var="s_ipaddress" pipe="or" />
        </group>
    </conditions>
    <navigation>
        <index var="sort_index" default="list_order" order="asc" />
        <list_count var="list_count" default="20" />
        <page_count var="page_count" default="10" />
        <page var="page" default="1" />
    </navigation>
</query>
