mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@131 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2525fe0838
commit
d21fbeb6c6
19 changed files with 132 additions and 65 deletions
15
modules/document/queries/getDocumentVotedLogInfo.xml
Normal file
15
modules/document/queries/getDocumentVotedLogInfo.xml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<query id="getDocumentVotedLogInfo" action="select">
|
||||
<tables>
|
||||
<table name="document_voted_log" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="count(*)" alias="count" />
|
||||
</columns>
|
||||
<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/insertDocumentVotedLog.xml
Normal file
11
modules/document/queries/insertDocumentVotedLog.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<query id="insertDocumentVotedLog" action="insert">
|
||||
<tables>
|
||||
<table name="document_voted_log" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="document_srl" var="document_srl" filter="number" default="0" notnull="notnull" />
|
||||
<column name="member_srl" var="member_srl" filter="number" default="0" />
|
||||
<column name="ipaddress" var="ipaddress" default="ipaddress()" />
|
||||
<column name="regdate" var="regdate" default="curdate()" />
|
||||
</columns>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue