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

Loading…
Cancel
Save