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@127 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e7d5dd84e8
commit
2c088be11c
3 changed files with 32 additions and 0 deletions
15
modules/document/queries/getDocumentReadedLogInfo.xml
Normal file
15
modules/document/queries/getDocumentReadedLogInfo.xml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<query id="getDocumentReadedLogInfo" action="select">
|
||||
<tables>
|
||||
<table name="document_readed_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/insertDocumentReadedLog.xml
Normal file
11
modules/document/queries/insertDocumentReadedLog.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<query id="insertDocumentReadedLog" action="insert">
|
||||
<tables>
|
||||
<table name="document_readed_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