mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
issue 594 init point bug fixed
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9719 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4ad1025dd5
commit
40782981e8
3 changed files with 26 additions and 13 deletions
|
|
@ -1,14 +1,23 @@
|
|||
<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>
|
||||
<tables>
|
||||
<table name="comments" />
|
||||
<table name="documents" type="left outer join" >
|
||||
<conditions>
|
||||
<condition operation="equal" column="comments.document_srl" default="documents.document_srl" />
|
||||
</conditions>
|
||||
</table>
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="comments.module_srl" />
|
||||
<column name="comments.member_srl" />
|
||||
<column name="count(*)" alias="count" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="notequal" column="comments.member_srl" default="0" />
|
||||
<condition operation="notequal" column="comments.member_srl" default="documents.member_srl" pipe="and" />
|
||||
</conditions>
|
||||
<groups>
|
||||
<group column="comments.module_srl" />
|
||||
<group column="comments.member_srl" />
|
||||
</groups>
|
||||
</query>
|
||||
|
|
|
|||
|
|
@ -7,6 +7,9 @@
|
|||
<column name="member_srl" />
|
||||
<column name="count(*)" alias="count" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="notequal" column="member_srl" default="0" />
|
||||
</conditions>
|
||||
<groups>
|
||||
<group column="module_srl" />
|
||||
<group column="member_srl" />
|
||||
|
|
|
|||
|
|
@ -8,7 +8,8 @@
|
|||
<column name="count(*)" alias="count" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="isvalid" default="Y" notnull="notnull" />
|
||||
<condition operation="notequal" column="member_srl" default="0" />
|
||||
<condition operation="equal" column="isvalid" default="Y" notnull="notnull" pipe="and" />
|
||||
</conditions>
|
||||
<groups>
|
||||
<group column="module_srl" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue