<query id="getFiles" action="select">
    <tables>
        <table name="files" />
    </tables>
    <conditions>
        <condition operation="equal" column="upload_target_srl" var="upload_target_srl" filter="number" notnull="notnull" />
		<group pipe="and">
			<condition operation="equal" column="upload_target_type" var="upload_target_type" />
			<condition operation="null" column="upload_target_type" if="include_null_target_type" pipe="or" />
		</group>
		<condition operation="equal" column="isvalid" var="isvalid" pipe="and" />
    </conditions>
    <navigation>
        <index var="sort_index" defualt="source_filename" order="asc" />
    </navigation>
</query>
