mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 12:49:55 +09:00
Wiki에 계층보기 기능 추가 (글쓰기 권한이 있는 사용자가 문서들을 tree구조로 바꿀 수 있도록 함)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6637 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c40d10f686
commit
461144c955
22 changed files with 431 additions and 4 deletions
21
modules/wiki/queries/getTreeNode.xml
Normal file
21
modules/wiki/queries/getTreeNode.xml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<query id="getTreeNode" action="select">
|
||||
<tables>
|
||||
<table name="documents" alias="doc"/>
|
||||
<table name="document_categories" alias="category" type="left join">
|
||||
<conditions>
|
||||
<condition operation="equal" column="category.category_srl" default="doc.document_srl" />
|
||||
</conditions>
|
||||
</table>
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="category.parent_srl" alias="parent_srl" />
|
||||
<column name="category.category_srl" alias="is_exists" />
|
||||
<column name="doc.module_srl" alias="module_srl" />
|
||||
<column name="doc.title" alias="title" />
|
||||
<column name="doc.document_srl" alias="document_srl" />
|
||||
<column name="doc.list_order" alias="list_order" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="doc.document_srl" var="source_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue