mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 17:22:20 +09:00
신고를 취소하는 기능 추가
This commit is contained in:
parent
daf51c24fd
commit
7e345870a0
10 changed files with 226 additions and 3 deletions
8
modules/document/queries/deleteDeclaredDocument.xml
Normal file
8
modules/document/queries/deleteDeclaredDocument.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<query id="deleteDeclaredDocument" action="delete">
|
||||
<tables>
|
||||
<table name="document_declared" />
|
||||
</tables>
|
||||
<conditions>
|
||||
<condition operation="equal" column="document_srl" var="document_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
12
modules/document/queries/deleteDeclaredDocumentLog.xml
Normal file
12
modules/document/queries/deleteDeclaredDocumentLog.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<query id="deleteDocumentDeclaredLog" action="delete">
|
||||
<tables>
|
||||
<table name="document_declared_log" />
|
||||
</tables>
|
||||
<conditions>
|
||||
<condition operation="equal" column="document_srl" var="document_srl" filter="number" notnull="notnull" />
|
||||
<group pipe="and">
|
||||
<condition operation="equal" column="member_srl" var="member_srl" filter="number" pipe="and" />
|
||||
<condition operation="equal" column="ipaddress" var="ipaddress" pipe="and" />
|
||||
</group>
|
||||
</conditions>
|
||||
</query>
|
||||
11
modules/document/queries/updateDeclaredDocumentCancel.xml
Normal file
11
modules/document/queries/updateDeclaredDocumentCancel.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<query id="updateDeclaredDocumentCancel" action="update">
|
||||
<tables>
|
||||
<table name="document_declared" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="declared_count" default="minus(1)" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="document_srl" var="document_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue