|
|
@ -31,8 +31,8 @@ |
|
|
|
<result property="longitude" column="LONGITUDE"/> |
|
|
|
<result property="latitude" column="LATITUDE"/> |
|
|
|
<result property="address" column="address"/> |
|
|
|
<result property="serviceProjectId" column="SERVICE_PROJECT_ID"/> |
|
|
|
<collection property="attachmentList" column="SERVICE_PROJECT_ID" |
|
|
|
<result property="feedBackId" column="feedBackId"/> |
|
|
|
<collection property="attachmentList" column="feedBackId" |
|
|
|
ofType="com.epmet.dto.result.IcServiceFeedbackResDTO$Attachment" |
|
|
|
select="com.epmet.dao.IcServiceFeedbackDao.getAttachmentList"> |
|
|
|
<result property="attachmentName" column="ATTACHMENT_NAME"/> |
|
|
@ -50,12 +50,12 @@ |
|
|
|
f.LATITUDE, |
|
|
|
f.LONGITUDE, |
|
|
|
f.address, |
|
|
|
f.SERVICE_PROJECT_ID |
|
|
|
f.id as feedBackId |
|
|
|
FROM |
|
|
|
ic_service_feedback f |
|
|
|
WHERE |
|
|
|
f.DEL_FLAG = '0' |
|
|
|
and f.SERVICE_RECORD_ID=#{serviceRecordId} |
|
|
|
and f.SERVICE_RECORD_ID = #{serviceRecordId} |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="getAttachmentList" parameterType="java.lang.String" resultType="com.epmet.dto.result.IcServiceFeedbackResDTO$Attachment"> |
|
|
@ -68,7 +68,7 @@ |
|
|
|
ic_service_project_attachment t |
|
|
|
WHERE |
|
|
|
t.DEL_FLAG = '0' |
|
|
|
AND t.IC_SERVICE_ID = #{serviceProjectId} |
|
|
|
AND t.IC_SERVICE_ID = #{feedBackId} |
|
|
|
ORDER BY |
|
|
|
t.SORT ASC |
|
|
|
</select> |
|
|
|