묻고답하기
검색부분 문의 입니다.
2012.07.11 22:40
www.pankoeasia.com을 작업중인데 main 좌측 하단에
서브쿼리 xml을 만들었는데 정상적으로 동작하지 않습니다..
-------------------------------------------------------------------------------------------------------------
SELECT
*
FROM
xe_documents
WHERE
xe_documents.document_srl in
(
select
document_srl
from
xe_document_extra_vars
where
xe_document_extra_vars.var_idx=2
and
xe_document_extra_vars.value like '$args->tourist_nation'
and
xe_document_extra_vars.eid like 'tourist_nation'
)
and
xe_documents.document_srl in
(
select
document_srl
from
xe_document_extra_vars
where
xe_document_extra_vars.var_idx=3
and
xe_document_extra_vars.value like '$args->tourist_city'
and
xe_document_extra_vars.eid like 'tourist_city'
)
이거를
<query id="getDocumentListWithTourist" action="select">
<tables>
<table name="documents" alias="documents" />
</tables>
<columns>
<column name="documents.*" />
</columns>
<conditions>
<condition operation="equal" column="documents.module_srl" var="module_srl" filter="number" notnull="notnull" pipe="and" />
<condition operation="in" column="documents.document_srl" pipe="and" />
<query alias="documentExtraVars">
<table>
<table name="document_extra_vars" alias="document_extra_vars">
</table>
<columns>
<column name="document_extra_vars.document_srl">
</columns>
<conditions>
<condition operation="equal" column="document_extra_vars.var_idx" var="var_idx1" pipe="and">
<condition operation="like" column="document_extra_vars.value" var="var_value1" pipe="and">
<condition operation="equal" column="document_extra_vars.var_idx" var="var_idx2" pipe="or">
<condition operation="like" column="document_extra_vars.value" var="var_value2" pipe="and">
</conditions>
</query>
</conditions>
<navigation>
<index var="sort_index" default="documents.list_order" order="order_type" />
<list_count var="list_count" default="20" />
</navigation>
</query>
-----------------------------------------------------------------------------------------------------------------------
왜동작을 안할까요 ㅠㅠ?
댓글 0
글쓴이 | 제목 | 최종 글 |
---|---|---|
XE | 공지 글 쓰기,삭제 운영방식 변경 공지 [16] | 2019.03.05 by 남기남 |
발냄새나 |
이거어떻게할까요.. ㅜㅜㅠㅜ
[1]
![]() | 2008.07.02 by 필로스 |
토리세상 |
외부페이지 아이프레임 불러올시 상태바 에러
[2]
![]() | 2008.07.02 by 토리세상 |
쩨니 | 레이아웃 설정에서 로고삽입창이 없어요 [2] | 2008.07.02 by 쩨니 |
초록배추 | 로고 파일 이름 지우기 [3] | 2008.07.02 by 필로스 |
no1linuxer | JSBOARD 컨버터 | |
양용수187 | 이미지 게시판.질문입니다. [1] | 2008.07.02 by 백성찬 |
민 | 누가 제발 답변좀 해주세요. [3] | 2008.07.02 by 비나무 |
yeap | 하나의 서버에 두개의 홈페이지의 운영이 가능한가요? [2] | 2008.07.02 by 비나무 |
이재식935 |
마이그레이션시 첨부파일 문제
[2]
![]() | 2008.07.02 by 목맨천사 |
catsby.myid.net | 제로보드에서 동영상 올리기.... | |
redwine | 다시질문드립니다. 적립금모듈을 별도생성가능한가요 [2] | 2008.07.02 by redwine |
리어코리아 |
웹진형 게시판에서 제목과 summary 사이의 줄 간격 문제 ㅠ
[2]
![]() | 2008.07.02 by 리어코리아 |
옥진엽796 | 게시판 상단 내용, 하단 내용에 PHP code 사용문의입니다. | |
줄루™ | 인기글 출력 방법...? [2] | 2008.07.02 by 줄루™ |
왜만지냐 | 최근게시물 more버튼 노출관련문의 | |
jun2jun | 업로딩하고.. ''페이지를 찾을수없습니다''가 나옵니다 [2] | 2008.07.02 by jun2jun |
초록배추 | 답변을 봐도 이해할 수가 없네요. [1] | 2008.07.03 by 초록배추 |
겨울일기 | 스킨 질문이있습니다 | |
피랜세이 | 동일한 한개의 게시판을 서로다른 복수의 메뉴에서 링크할때, 스킨을 서로 달리 가능한지요? [4] | 2008.07.02 by 피랜세이 |
김신욱595 | 파일첨부가 되지않습니다 [1] | 2008.07.02 by 덱스터 |