mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-02-01 01:29:58 +09:00
virtual site + homepage package 추가. 아직 미완성 버전이므로 서비스 반영하지 말아주세요. 테스트중
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4871 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c5dbc3405c
commit
e745b70268
171 changed files with 5243 additions and 274 deletions
8
modules/homepage/queries/deleteHomepage.xml
Normal file
8
modules/homepage/queries/deleteHomepage.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<query id="deleteHomepage" action="delete">
|
||||
<tables>
|
||||
<table name="homepages" />
|
||||
</tables>
|
||||
<conditions>
|
||||
<condition operation="equal" column="site_srl" var="site_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
17
modules/homepage/queries/getHomepageInfo.xml
Normal file
17
modules/homepage/queries/getHomepageInfo.xml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<query id="getHomepageInfo" action="select">
|
||||
<tables>
|
||||
<table name="homepages" />
|
||||
<table name="sites" />
|
||||
<table name="modules" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="homepages.*" />
|
||||
<column name="sites.domain" alias="domain" />
|
||||
<column name="modules.*" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="homepages.site_srl" var="site_srl" filter="number" notnull="notnull" />
|
||||
<condition operation="equal" column="sites.site_srl" default="homepages.site_srl" filter="number" notnull="notnull" pipe="and" />
|
||||
<condition operation="equal" column="modules.module_srl" default="sites.index_module_srl" pipe="and" />
|
||||
</conditions>
|
||||
</query>
|
||||
23
modules/homepage/queries/getHomepageList.xml
Normal file
23
modules/homepage/queries/getHomepageList.xml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<query id="getHomepageList" action="select">
|
||||
<tables>
|
||||
<table name="homepages" />
|
||||
<table name="sites" />
|
||||
<table name="modules" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="homepages.site_srl" alias="site_srl" />
|
||||
<column name="homepages.title" alias="homepage_title" />
|
||||
<column name="sites.domain" alias="domain" />
|
||||
<column name="modules.*" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="sites.site_srl" default="homepages.site_srl" filter="number" notnull="notnull" />
|
||||
<condition operation="equal" column="modules.module_srl" default="sites.index_module_srl" pipe="and" />
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" default="homepages.list_order" order="asc" />
|
||||
<list_count var="list_count" default="20" />
|
||||
<page_count var="page_count" default="10" />
|
||||
<page var="page" default="1" />
|
||||
</navigation>
|
||||
</query>
|
||||
14
modules/homepage/queries/insertHomepage.xml
Normal file
14
modules/homepage/queries/insertHomepage.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<query id="insertHomepage" action="insert">
|
||||
<tables>
|
||||
<table name="homepages" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="site_srl" var="site_srl" notnull="notnull" />
|
||||
<column name="title" var="title" notnull="notnull" />
|
||||
<column name="layout_srl" var="layout_srl" notnull="notnull" />
|
||||
<column name="first_menu_srl" var="first_menu_srl" notnull="notnull" />
|
||||
<column name="second_menu_srl" var="second_menu_srl" notnull="notnull" />
|
||||
<column name="list_order" var="list_order" notnull="notnull" />
|
||||
<column name="regdate" default="curdate()" />
|
||||
</columns>
|
||||
</query>
|
||||
12
modules/homepage/queries/updateHomepage.xml
Normal file
12
modules/homepage/queries/updateHomepage.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<query id="updateHomepage" action="update">
|
||||
<tables>
|
||||
<table name="homepages" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="title" var="title" notnull="notnull" />
|
||||
<column name="domain" var="layout_srl" notnull="notnull" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="site_srl" var="site_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
11
modules/homepage/queries/updateHomepageTitle.xml
Normal file
11
modules/homepage/queries/updateHomepageTitle.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<query id="updateHomepageTitle" action="update">
|
||||
<tables>
|
||||
<table name="homepages" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="title" var="title" notnull="notnull" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="site_srl" var="site_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue