Browse Source

生产bug修改

dev
sunyuchao 4 years ago
parent
commit
a7f045f94a
  1. 3
      epmet-module/resi-group/resi-group-server/src/main/resources/mapper/group/ResiGroupDao.xml

3
epmet-module/resi-group/resi-group-server/src/main/resources/mapper/group/ResiGroupDao.xml

@ -471,9 +471,8 @@
ta.ATTACHMENT_URL AS imgUrl,
rt.GROUP_ID AS groupId
FROM resi_topic rt
LEFT JOIN resi_topic_attachment ta ON ta.TOPIC_ID = rt.ID
LEFT JOIN resi_topic_attachment ta ON ta.TOPIC_ID = rt.ID AND ta.attachment_type = 'image'
WHERE rt.DEL_FLAG = '0'
AND ta.attachment_type = 'image'
AND rt.ID = #{topicId}
</select>

Loading…
Cancel
Save