mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +09:00
모듈별 설정을 가져올때 site_srl을 반영받도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6356 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
04a11afb14
commit
7f6433dd1c
3 changed files with 11 additions and 5 deletions
|
|
@ -828,8 +828,9 @@
|
|||
/**
|
||||
* @brief mid별 모듈 설정 정보 전체를 구함
|
||||
**/
|
||||
function getModulePartConfigs($module) {
|
||||
function getModulePartConfigs($module, $site_srl = 0) {
|
||||
$args->module = $module;
|
||||
if($site_srl) $args->site_srl = $site_srl;
|
||||
$output = executeQueryArray('module.getModulePartConfigs', $args);
|
||||
if(!$output->toBool() || !$output->data) return array();
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,15 @@
|
|||
<query id="getModulePartConfigs" action="select">
|
||||
<tables>
|
||||
<table name="module_part_config" />
|
||||
<table name="modules" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="module_srl" />
|
||||
<column name="config" />
|
||||
<column name="module_part_config.module_srl" alais="module_srl" />
|
||||
<column name="module_part_config.config" alias="config" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="module" var="module" notnull="notnull" />
|
||||
<condition operation="equal" column="module_part_config.module" var="module" notnull="notnull" />
|
||||
<condition operation="equal" column="modules.module_srl" default="module_part_config.module_srl" pipe="and" />
|
||||
<condition operation="equal" column="modules.site_srl" var="site_srl" pipe="and" />
|
||||
</conditions>
|
||||
</query>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue