diff --git a/esua-epdc/epdc-module/epdc-party-group/epdc-party-group-server/src/main/resources/mapper/PartyTopicDao.xml b/esua-epdc/epdc-module/epdc-party-group/epdc-party-group-server/src/main/resources/mapper/PartyTopicDao.xml
index 6aeb2158..5ed18cb9 100644
--- a/esua-epdc/epdc-module/epdc-party-group/epdc-party-group-server/src/main/resources/mapper/PartyTopicDao.xml
+++ b/esua-epdc/epdc-module/epdc-party-group/epdc-party-group-server/src/main/resources/mapper/PartyTopicDao.xml
@@ -180,18 +180,26 @@
left join epdc_party_topic_img t2 on t.ID = t2.REFERENCE_ID and t2.DEL_FLAG='0'
left join (select ID,USERNAME,USER_FACE,PARTY_MEMBER,CONTENT,TOPIC_ID,DEL_FLAG from epdc_party_topic_comment order by CREATED_TIME desc) t3 on t.ID = t3.TOPIC_ID and t3.DEL_FLAG='0'
- where t.DEL_FLAG='0' and t.PARTY_GROUP_ID = #{partyGroupId} and t.STATE = '0'
-
- #{timestamp}
-
-
- and t.TOPIC_MODULE = #{topicType}
-
-
- and t.ID = #{partyTopicId}
-
+ where
+ t.ID in (select tmp.ID from (SELECT
+ t1.ID
+ FROM
+ epdc_party_topic t1
+ WHERE
+ t1.DEL_FLAG = '0' and t1.STATE = '0'
+
+ #{timestamp}
+
+
+ and t1.TOPIC_MODULE = #{topicType}
+
+
+ and t1.ID = #{partyTopicId}
+
+ ORDER BY
+ t1.CREATED_TIME DESC
+ LIMIT #{pageIndex},#{pageSize}) tmp)
order by t.CREATED_TIME desc
- LIMIT #{pageIndex},#{pageSize}