mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 08:12:17 +09:00
삭제
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2327 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
commit
8326004cb2
2773 changed files with 91485 additions and 0 deletions
8
modules/file/queries/deleteFile.xml
Normal file
8
modules/file/queries/deleteFile.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<query id="deleteFile" action="delete">
|
||||
<tables>
|
||||
<table name="files" />
|
||||
</tables>
|
||||
<conditions>
|
||||
<condition operation="equal" column="file_srl" var="file_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
8
modules/file/queries/deleteFiles.xml
Normal file
8
modules/file/queries/deleteFiles.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<query id="deleteFiles" action="delete">
|
||||
<tables>
|
||||
<table name="files" />
|
||||
</tables>
|
||||
<conditions>
|
||||
<condition operation="equal" column="upload_target_srl" var="upload_target_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
8
modules/file/queries/deleteModuleFiles.xml
Normal file
8
modules/file/queries/deleteModuleFiles.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<query id="deleteModuleFiles" action="delete">
|
||||
<tables>
|
||||
<table name="files" />
|
||||
</tables>
|
||||
<conditions>
|
||||
<condition operation="equal" column="module_srl" var="module_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
11
modules/file/queries/getAttachedFileSize.xml
Normal file
11
modules/file/queries/getAttachedFileSize.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<query id="getAttachedFileSize" action="select">
|
||||
<tables>
|
||||
<table name="files" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="sum(file_size)" alias="attached_size" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="upload_target_srl" var="upload_target_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
8
modules/file/queries/getFile.xml
Normal file
8
modules/file/queries/getFile.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<query id="getFile" action="select">
|
||||
<tables>
|
||||
<table name="files" />
|
||||
</tables>
|
||||
<conditions>
|
||||
<condition operation="equal" column="file_srl" var="file_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
25
modules/file/queries/getFileList.xml
Normal file
25
modules/file/queries/getFileList.xml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<query id="getFileList" action="select">
|
||||
<tables>
|
||||
<table name="files" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="*" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="module_srl" var="s_module_srl" />
|
||||
<condition operation="equal" column="isvalid" var="isvalid" pipe="and" />
|
||||
<group pipe="and">
|
||||
<condition operation="like" column="source_filename" var="s_filename" pipe="or" />
|
||||
<condition operation="more" column="file_size" var="s_filesize" pipe="or" />
|
||||
<condition operation="more" column="download_count" var="s_download_count" pipe="or" />
|
||||
<condition operation="like_prefix" column="regdate" var="s_regdate" pipe="or" />
|
||||
<condition operation="like_prefix" column="ipaddress" var="s_ipaddress" pipe="or" />
|
||||
</group>
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" default="file_srl" order="desc" />
|
||||
<list_count var="list_count" default="20" />
|
||||
<page_count var="page_count" default="10" />
|
||||
<page var="page" default="1" />
|
||||
</navigation>
|
||||
</query>
|
||||
11
modules/file/queries/getFiles.xml
Normal file
11
modules/file/queries/getFiles.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<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" />
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" defualt="source_filename" order="asc" />
|
||||
</navigation>
|
||||
</query>
|
||||
11
modules/file/queries/getFilesCount.xml
Normal file
11
modules/file/queries/getFilesCount.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<query id="getFilesCount" action="select">
|
||||
<tables>
|
||||
<table name="files" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="count(*)" alias="count" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="upload_target_srl" var="upload_target_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
20
modules/file/queries/getOneFileInDocument.xml
Normal file
20
modules/file/queries/getOneFileInDocument.xml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<query id="getOneFileInDocument" action="select">
|
||||
<tables>
|
||||
<table name="files" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="upload_target_srl" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="in" column="module_srl" var="module_srls" notnull="notnull" filter="number" />
|
||||
<condition operation="equal" column="direct_download" var="direct_download" pipe="and" />
|
||||
<condition operation="equal" column="isvalid" var="isvalid" pipe="and" />
|
||||
</conditions>
|
||||
<groups>
|
||||
<group column="upload_target_srl" />
|
||||
</groups>
|
||||
<navigation>
|
||||
<index var="file_srl" default="file_srl" order="desc" />
|
||||
<list_count var="list_count" default="20" />
|
||||
</navigation>
|
||||
</query>
|
||||
20
modules/file/queries/insertFile.xml
Normal file
20
modules/file/queries/insertFile.xml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<query id="insertFile" action="insert">
|
||||
<tables>
|
||||
<table name="files" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="file_srl" var="file_srl" notnull="notnull" />
|
||||
<column name="upload_target_srl" var="upload_target_srl" filter="number" default="0" notnull="notnull" />
|
||||
<column name="sid" var="sid" />
|
||||
<column name="module_srl" var="module_srl" filter="number" default="0" notnull="notnull" />
|
||||
<column name="source_filename" var="source_filename" notnull="notnull" minlength="1" maxlength="250" />
|
||||
<column name="uploaded_filename" var="uploaded_filename" notnull="notnull" minlength="1" maxlength="250" />
|
||||
<column name="file_size" var="file_size" notnull="notnull" default="0" />
|
||||
<column name="direct_download" var="direct_download" notnull="notnull" default="N" />
|
||||
<column name="comment" var="comment" />
|
||||
<column name="download_count" var="download_count" default="0" />
|
||||
<column name="member_srl" var="member_srl" default="0" />
|
||||
<column name="regdate" var="regdate" default="curdate()" />
|
||||
<column name="ipaddress" var="ipaddress" default="ipaddress()" />
|
||||
</columns>
|
||||
</query>
|
||||
15
modules/file/queries/updateFile.xml
Normal file
15
modules/file/queries/updateFile.xml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<query id="updateFile" action="update">
|
||||
<tables>
|
||||
<table name="files" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="upload_target_srl" var="upload_target_srl" filter="number" default="0" notnull="notnull" />
|
||||
<column name="module_srl" var="module_srl" filter="number" default="0" notnull="notnull" />
|
||||
<column name="uploaded_filename" var="uploaded_filename" notnull="notnull" minlength="1" maxlength="250" />
|
||||
<column name="regdate" var="regdate" default="curdate()" />
|
||||
<column name="ipaddress" var="ipaddress" default="ipaddress()" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="file_srl" var="file_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
11
modules/file/queries/updateFileDownloadCount.xml
Normal file
11
modules/file/queries/updateFileDownloadCount.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<query id="updateDownloadCount" action="update">
|
||||
<tables>
|
||||
<table name="files" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="download_count" var="download_count" default="plus(1)" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="file_srl" var="file_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
11
modules/file/queries/updateFileValid.xml
Normal file
11
modules/file/queries/updateFileValid.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<query id="updateFileValid" action="update">
|
||||
<tables>
|
||||
<table name="files" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="isvalid" var="isvalid" default="Y" notnull="notnull" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="upload_target_srl" var="upload_target_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue