mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
포인트 리셋기능 추가. 글/댓글/파일을 첨부한 사용자만 대상이고 그 외 회원은 일단 지워지고 나서 캐시파일 생성시 포인트 입력됨 (회원가입점수는 이때 적용)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3386 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4d6afe35fa
commit
4c2eabe9fa
19 changed files with 260 additions and 2 deletions
14
modules/point/queries/getCommentPoint.xml
Normal file
14
modules/point/queries/getCommentPoint.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<query id="getCommentPoint" action="select">
|
||||
<tables>
|
||||
<table name="comments" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="module_srl" />
|
||||
<column name="member_srl" />
|
||||
<column name="count(*)" alias="count"/>
|
||||
</columns>
|
||||
<groups>
|
||||
<group column="module_srl" />
|
||||
<group column="member_srl" />
|
||||
</groups>
|
||||
</query>
|
||||
14
modules/point/queries/getDocumentPoint.xml
Normal file
14
modules/point/queries/getDocumentPoint.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<query id="getDocumentPoint" action="select">
|
||||
<tables>
|
||||
<table name="documents" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="module_srl" />
|
||||
<column name="member_srl" />
|
||||
<column name="count(*)" alias="count"/>
|
||||
</columns>
|
||||
<groups>
|
||||
<group column="module_srl" />
|
||||
<group column="member_srl" />
|
||||
</groups>
|
||||
</query>
|
||||
17
modules/point/queries/getFilePoint.xml
Normal file
17
modules/point/queries/getFilePoint.xml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<query id="getFilePoint" action="select">
|
||||
<tables>
|
||||
<table name="files" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="module_srl" />
|
||||
<column name="member_srl" />
|
||||
<column name="count(*)" alias="count"/>
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="isvalid" default="Y" notnull="notnull" />
|
||||
</conditions>
|
||||
<groups>
|
||||
<group column="module_srl" />
|
||||
<group column="member_srl" />
|
||||
</groups>
|
||||
</query>
|
||||
5
modules/point/queries/initMemberPoint.xml
Normal file
5
modules/point/queries/initMemberPoint.xml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<query id="initMemberPoint" action="delete">
|
||||
<tables>
|
||||
<table name="point" />
|
||||
</tables>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue