修复查看用户发帖列表接口bug

上级 ea0e4cb3
流水线 #8379 已通过 于阶段
in 3 分 1 秒
......@@ -415,8 +415,6 @@
</if>
</select>
<select id="dynamicList" resultType="com.mmc.csf.release.entity.forum.ForumDynamicDO">
WITH ranked_data AS (
SELECT
fd.id,
......@@ -439,13 +437,13 @@
AND fd.check_status = 1
AND gambit_id NOT IN (1001,1002)
<if test="id!=null" >
and id=#{id}
and fd.id=#{id}
</if>
<if test="userAccountIds!=null">
and user_account_id=#{userAccountIds}
and fd.user_account_id=#{userAccountIds}
</if>
<if test="description!=null and description!='' ">
and description like concat('%',#{description},'%')
and fd.description like concat('%',#{description},'%')
</if>
)
SELECT *
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论