<query id="updateCommentCount" action="update">
    <tables>
        <table name="documents" />
    </tables>
    <columns>
        <column name="comment_count" var="comment_count" notnull="notnull" />
        <column name="update_order" var="update_order" />
        <column name="last_update" var="last_update" default="curdate()" />
        <column name="last_updater" var="last_updater" />
    </columns>
    <conditions>
        <condition operation="equal" column="document_srl" var="document_srl" filter="number" notnull="notnull" />
    </conditions>
</query>
