<query id="updateDocumentOrder" action="update">
    <tables>
        <table name="documents" />
    </tables>
    <columns>
        <column name="module_srl" var="module_srl" filter="number" />
        <column name="regdate" var="regdate" default="curdate()" />
        <column name="last_update" var="last_update" default="curdate()" />
        <column name="list_order" var="list_order" />
        <column name="update_order" var="update_order" default="0" />
    </columns>
    <conditions>
        <condition operation="equal" column="document_srl" var="document_srl" filter="number" notnull="notnull" />
    </conditions>
</query>
