@ -665,6 +665,7 @@
FROM ic_event e
LEFT JOIN ic_event_reply r ON r.IC_EVENT_ID = e.ID
LEFT JOIN ic_event_category c ON c.IC_EVENT_ID = e.ID
LEFT JOIN ic_event_attachment rea ON rea.ic_event_id = e.ID AND rea.del_flag = '0'
<where>
e.DEL_FLAG = 0
<if test="null != orgIdPath and orgIdPath != ''">