Browse Source

话题评论列表添加条件and `STATUS`='discussing'

dev_shibei_match
yinzuomei 4 years ago
parent
commit
6dea3eeff5
  1. 10
      epmet-module/resi-group/resi-group-server/src/main/resources/mapper/topic/ResiTopicCommentDao.xml

10
epmet-module/resi-group/resi-group-server/src/main/resources/mapper/topic/ResiTopicCommentDao.xml

@ -63,11 +63,11 @@
RESI_TOPIC_COMMENT
WHERE
DEL_FLAG = '0'
AND
TOPIC_ID = #{topicId}
ORDER BY CREATED_TIME DESC
LIMIT
#{pageNo},#{pageSize}
and `STATUS`='discussing'
AND TOPIC_ID = #{topicId}
ORDER BY
CREATED_TIME DESC
LIMIT #{pageNo},#{pageSize}
</select>
<select id="selectTopicList" resultType="java.lang.String">

Loading…
Cancel
Save