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