From 64ea0a2fc4288739b52e29d9507895ca01207868 Mon Sep 17 00:00:00 2001 From: sunyuchao Date: Thu, 6 May 2021 16:17:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E7=AB=AF-=E5=BE=85=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8||=E5=B7=B2=E9=A9=B3=E5=9B=9E=C2=A0=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E8=AF=A6=E6=83=85-=E6=8E=A5=E5=8F=A3=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E8=AF=9D=E9=A2=98=E9=99=84=E4=BB=B6=E6=97=B6=E5=8F=AA=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E5=9B=BE=E7=89=87=E9=99=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/group/ResiGroupDao.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/epmet-module/resi-group/resi-group-server/src/main/resources/mapper/group/ResiGroupDao.xml b/epmet-module/resi-group/resi-group-server/src/main/resources/mapper/group/ResiGroupDao.xml index 3b1d361bc6..50006ae2dd 100644 --- a/epmet-module/resi-group/resi-group-server/src/main/resources/mapper/group/ResiGroupDao.xml +++ b/epmet-module/resi-group/resi-group-server/src/main/resources/mapper/group/ResiGroupDao.xml @@ -473,7 +473,8 @@ FROM resi_topic rt LEFT JOIN resi_topic_attachment ta ON ta.TOPIC_ID = rt.ID WHERE rt.DEL_FLAG = '0' - AND rt.ID = #{topicId} + AND ta.attachment_type = 'image' + AND rt.ID = #{topicId}