<query id="isExistsModuleName" action="select">
    <tables>
        <table name="modules" />
    </tables>
    <columns>
        <column name="count(*)" alias="count" />
    </columns>
    <conditions>
        <condition operation="equal" column="site_srl" var="site_srl" notnull="notnull" default="0" />
        <condition operation="equal" column="mid" var="mid" notnull="notnull" pipe="and" />
        <condition operation="notequal" column="module_srl" var="module_srl" default="0" notnull="notnull" pipe="and" />
    </conditions>
</query>
