<query id="getDefaultMidInfo" action="select">
    <tables>
        <table name="modules" />
    </tables>
    <columns>
        <column name="*" />
    </columns>
    <conditions>
        <condition operation="equal" column="site_srl" var="site_srl" default="0" notnull="notnull" />
        <condition operation="equal" column="is_default" default="Y" pipe="and" />
    </conditions>
</query>
