mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 13:49:56 +09:00
history update 부분
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6687 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
66ee1a32f7
commit
55e8d5cb59
2 changed files with 17 additions and 1 deletions
|
|
@ -160,8 +160,13 @@
|
|||
$args->priority_srl = 0;
|
||||
$args->component_srl = 0;
|
||||
$args->resolution_srl = 0;
|
||||
|
||||
$output = executeQuery('issuetracker.updateIssueModule', $args);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
$args = null;
|
||||
$args->module_srl = $obj->module_srl;
|
||||
$args->document_srls = $obj->document_srls;
|
||||
$output = executeQuery('issuetracker.updateIssueHistoryModule', $args);
|
||||
return $output;
|
||||
}
|
||||
|
||||
|
|
|
|||
11
modules/issuetracker/queries/updateIssueHistoryModule.xml
Normal file
11
modules/issuetracker/queries/updateIssueHistoryModule.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<query id="updateIssueHistoryModule" action="update">
|
||||
<tables>
|
||||
<table name="issues_history" />
|
||||
</tables>
|
||||
<columns>
|
||||
<column name="module_srl" var="module_srl" filter="number" default="0" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="in" column="target_srl" var="document_srls" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
Loading…
Add table
Add a link
Reference in a new issue