|
@ -52,8 +52,7 @@ |
|
|
LEFT JOIN resi_event_attachment rea |
|
|
LEFT JOIN resi_event_attachment rea |
|
|
ON (rea.RESI_EVENT_ID = t.eventId |
|
|
ON (rea.RESI_EVENT_ID = t.eventId |
|
|
AND rea.DEL_FLAG = '0' |
|
|
AND rea.DEL_FLAG = '0' |
|
|
AND rea.ATTACHMENT_TYPE = 'image' |
|
|
AND rea.ATTACHMENT_TYPE = 'image') |
|
|
AND (rea.SORT = 3 OR rea.SORT = 1 OR rea.SORT = 2)) |
|
|
|
|
|
order by rea.sort asc |
|
|
order by rea.sort asc |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|