관리페이지에서 첨부파일 조회시 등록일이 변경되는 문제 수정

* 해당 쿼리 별도로 분리

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6599 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
bnu 2009-06-19 03:54:53 +00:00
parent 6222a6aef8
commit 849bc627a1
2 changed files with 13 additions and 2 deletions

View file

@ -29,7 +29,7 @@
// 목록 구함
$oFileModel = &getAdminModel('file');
$output = $oFileModel->getFileList($args);
debugPrint($output);
// 목록의 loop를 돌면서 document를 구하기
if($output->data) {
$oCommentModel = &getModel('comment');
@ -89,7 +89,7 @@
}
}
if($file_update_args->upload_target_type) {
executeQuery('file.updateFile', $file_update_args);
executeQuery('file.updateFileTargetType', $file_update_args);
}
}

View file

@ -0,0 +1,11 @@
<query id="updateFileTargetType" action="update">
<tables>
<table name="files" />
</tables>
<columns>
<column name="upload_target_type" var="upload_target_type" />
</columns>
<conditions>
<condition operation="equal" column="file_srl" var="file_srl" filter="number" notnull="notnull" />
</conditions>
</query>