rhymix/modules/file/queries/getCoverImage.xml
bnu 4faa291880 #1331 커버 이미지를 선택할 수 있는 기능 추가
- files 테이블에 cover_image 컬럼 추가
- 썸네일 생성 로직에 cover_image 값을 참조하여 이미지 선택 사용
- 파일 업로드 기능에 UI 추가
2015-07-07 17:39:11 +09:00

9 lines
361 B
XML

<query id="getCoverImage" action="select">
<tables>
<table name="files" />
</tables>
<conditions>
<condition operation="equal" column="upload_target_srl" var="upload_target_srl" filter="number" notnull="notnull" />
<condition operation="equal" column="cover_image" default="Y" notnull="notnull" />
</conditions>
</query>