Browse Source

我的话题列表增加groupId参数

hotfix/yujt_opt v1.1.0.200520.Release
zhangyuan 5 years ago
parent
commit
81491580b8
  1. 3
      epdc-cloud-property/src/main/resources/mapper/topic/TopicDao.xml

3
epdc-cloud-property/src/main/resources/mapper/topic/TopicDao.xml

@ -159,6 +159,9 @@
<if test="userId != null and userId.trim() != ''"> <if test="userId != null and userId.trim() != ''">
and t1.USER_ID = #{userId} and t1.USER_ID = #{userId}
and t1.STATE IN (0, 20) and t1.STATE IN (0, 20)
<if test="groupId != null and groupId.trim() != ''">
AND t1.GROUP_ID = #{groupId}
</if>
</if> </if>
<if test="userId == null or userId.trim() == ''"> <if test="userId == null or userId.trim() == ''">
AND t1.STATE <![CDATA[ <> ]]> 20 AND t1.STATE <![CDATA[ <> ]]> 20

Loading…
Cancel
Save