mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 21:59:55 +09:00
simulz님의 rank count 위젯 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3076 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b5eac321ee
commit
9a8a1d50bf
18 changed files with 670 additions and 0 deletions
|
|
@ -0,0 +1,29 @@
|
|||
<query id="getRankCommentCount" action="select">
|
||||
<tables>
|
||||
<table name="comments" alias="comments" />
|
||||
<table name="member" alias="member" />
|
||||
<table name="member_group_member" alias="member_group"/>
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="member.*" />
|
||||
<column name="count(*)" alias="count" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="in" column="member_group.group_srl" var="selected_group_srl" />
|
||||
<condition operation="notequal" column="member_group.group_srl" var="selected_group_without_srl" pipe="and" />
|
||||
<condition operation="equal" column="member.member_srl" var="member_group.member_srl" pipe="and" notnull="notnull" />
|
||||
<condition operation="excess" column="comments.member_srl" default="0" pipe="and" />
|
||||
<condition operation="equal" column="comments.member_srl" var="member.member_srl" pipe="and" />
|
||||
<condition operation="equal" column="member.is_admin" var="is_admin" pipe="and" />
|
||||
<group pipe="and">
|
||||
<condition operation="more" column="comments.regdate" var="regdate" pipe="or" />
|
||||
</group>
|
||||
</conditions>
|
||||
<groups>
|
||||
<group column="comments.member_srl" />
|
||||
</groups>
|
||||
<navigation>
|
||||
<index var="sort_index" default="count" order="desc" />
|
||||
<list_count var="list_count" default="20" />
|
||||
</navigation>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue