mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-26 22:59:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1245 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
312976465c
commit
d0f90bf3c9
17 changed files with 164 additions and 66 deletions
8
modules/blog/queries/deleteCategory.xml
Normal file
8
modules/blog/queries/deleteCategory.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<query id="deleteCategory" action="delete">
|
||||
<tables>
|
||||
<table name="blog_category" />
|
||||
</tables>
|
||||
<conditions>
|
||||
<condition operation="equal" column="category_srl" var="category_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
14
modules/blog/queries/getBlogCategories.xml
Normal file
14
modules/blog/queries/getBlogCategories.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<query id="getBlogCategories" action="select">
|
||||
<tables>
|
||||
<table name="blog_category" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="*" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="module_srl" var="module_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" default="listorder" order="desc" />
|
||||
</navigation>
|
||||
</query>
|
||||
11
modules/blog/queries/getChildCategoryCount.xml
Normal file
11
modules/blog/queries/getChildCategoryCount.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<query id="getChildCategoryCount" action="select">
|
||||
<tables>
|
||||
<table name="blog_category" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="count(*)" alias="count" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="parent_srl" var="category_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
15
modules/blog/queries/insertCategory.xml
Normal file
15
modules/blog/queries/insertCategory.xml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<query id="insertCategory" action="insert">
|
||||
<tables>
|
||||
<table name="blog_category" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="category_srl" var="category_srl" filter="number" notnull="notnull" />
|
||||
<column name="parent_srl" var="parent_srl" filter="number" default="0" />
|
||||
<column name="module_srl" var="module_srl" filter="number" notnull="notnull" />
|
||||
<column name="name" var="name" notnull="notnull" />
|
||||
<column name="expand" var="expand" />
|
||||
<column name="group_srls" var="group_srls" />
|
||||
<column name="listorder" var="listorder" notnull="notnull" />
|
||||
<column name="regdate" var="regdate" default="curdate()" />
|
||||
</columns>
|
||||
</query>
|
||||
13
modules/blog/queries/updateCategory.xml
Normal file
13
modules/blog/queries/updateCategory.xml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<query id="updateCategory" action="update">
|
||||
<tables>
|
||||
<table name="blog_category" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="name" var="name" notnull="notnull" />
|
||||
<column name="expand" var="expand" />
|
||||
<column name="group_srls" var="group_srls" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="category_srl" var="category_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue