|
|
@ -121,8 +121,12 @@ |
|
|
|
<result property="projectId" column="projectId"/> |
|
|
|
<result property="gridId" column="gridId"/> |
|
|
|
<result property="eventUserId" column="eventUserId"/> |
|
|
|
<collection property="eventImgs" ofType="java.lang.String"> |
|
|
|
<!--<collection property="eventImgs" ofType="java.lang.String"> |
|
|
|
<result column="eventImg"/> |
|
|
|
</collection>--> |
|
|
|
<collection property="attachmentList" ofType="com.epmet.dto.result.EventDetailResultDTO$Attachment"> |
|
|
|
<result column="url" property="url"/> |
|
|
|
<result column="type" property="type"/> |
|
|
|
</collection> |
|
|
|
<collection property="eventPerson" ofType="java.lang.String"> |
|
|
|
<result column="person"/> |
|
|
@ -141,7 +145,8 @@ |
|
|
|
(CASE WHEN re.READ_FLAG = 1 THEN FALSE ELSE TRUE END) AS isRollback, |
|
|
|
(CASE WHEN re.SHIFT_PROJECT = 1 THEN TRUE ELSE FALSE END) AS isProject, |
|
|
|
IFNULL(re.project_id,'') AS projectId, |
|
|
|
ea.ATTACHMENT_URL AS eventImg, |
|
|
|
ea.ATTACHMENT_URL AS url, |
|
|
|
ea.ATTACHMENT_TYPE AS type, |
|
|
|
IF(ISNULL(em.USER_SHOW_NAME),NULL,concat('人大代表-',em.USER_SHOW_NAME)) AS person, |
|
|
|
re.GRID_ID AS gridId, |
|
|
|
re.CREATED_BY AS eventUserId, |
|
|
|