<query id="getModuleMidList" action="select">
    <tables>
        <table name="modules" />
    </tables>
    <columns>
        <column name="*" />
    </columns>
    <conditions>
        <condition operation="equal" column="module" var="module" notnull="notnull" />
        <condition operation="in" column="site_srl" var="site_srl" default="0" notnull="notnull" pipe="and" />
        <condition operation="in" column="module_srl" var="module_srl" pipe="and" />
        <group pipe="and">
            <condition operation="like" column="mid" var="s_mid" pipe="or" />
            <condition operation="like" column="title" var="s_title" pipe="or" />
        </group>
    </conditions>
    <navigation>
        <index var="sort_index" default="module_srl" order="desc" />
        <list_count var="list_count" default="20" />
        <page_count var="page_count" default="10" />
        <page var="page" default="1" />
    </navigation>
</query>
