|
@ -292,6 +292,8 @@ |
|
|
<result property="operationId" column="operation_id"/> |
|
|
<result property="operationId" column="operation_id"/> |
|
|
<result property="redDot" column="red_dot"/> |
|
|
<result property="redDot" column="red_dot"/> |
|
|
<result property="latestOperatedTime" column="latest_operated_time"></result> |
|
|
<result property="latestOperatedTime" column="latest_operated_time"></result> |
|
|
|
|
|
<result property="satisfaction" column="satisfaction"/> |
|
|
|
|
|
<result property="satisfactionName" column="satisfactionName" /> |
|
|
<collection property="attachmentList" ofType="com.epmet.dto.IcEventAttachmentDTO" |
|
|
<collection property="attachmentList" ofType="com.epmet.dto.IcEventAttachmentDTO" |
|
|
column="icEventId" select="com.epmet.dao.IcEventAttachmentDao.selectByIcEventId"/> |
|
|
column="icEventId" select="com.epmet.dao.IcEventAttachmentDao.selectByIcEventId"/> |
|
|
</resultMap> |
|
|
</resultMap> |
|
@ -304,10 +306,19 @@ |
|
|
ie.address, |
|
|
ie.address, |
|
|
ie.`status`, |
|
|
ie.`status`, |
|
|
IF(ie.status = 'processing','处理中',IF (ie.status = 'closed_case','已办结','')) statusName, |
|
|
IF(ie.status = 'processing','处理中',IF (ie.status = 'closed_case','已办结','')) statusName, |
|
|
ie.operation_type, |
|
|
IFNULL(ie.operation_type,'') AS operation_type, |
|
|
ie.operation_id, |
|
|
IFNULL(ie.operation_id,'') AS operation_id, |
|
|
ie.red_dot, |
|
|
ie.red_dot, |
|
|
ie.latest_operated_time |
|
|
ie.latest_operated_time, |
|
|
|
|
|
IFNULL(ie.satisfaction,'') as satisfaction, |
|
|
|
|
|
( |
|
|
|
|
|
case when satisfaction is null or satisfaction='' then '' |
|
|
|
|
|
when satisfaction='bad' then '不满意' |
|
|
|
|
|
when satisfaction='good' then '基本满意' |
|
|
|
|
|
when satisfaction='perfect' then '非常满意' |
|
|
|
|
|
else '' |
|
|
|
|
|
end |
|
|
|
|
|
) as satisfactionName |
|
|
FROM |
|
|
FROM |
|
|
ic_event ie |
|
|
ic_event ie |
|
|
WHERE |
|
|
WHERE |
|
|