update:修改动态消息排序;按发布状态查询
This commit is contained in:
+4
@@ -28,6 +28,9 @@
|
||||
<if test="param.dynamicHeading != null and param.dynamicHeading != ''">
|
||||
and dynamic_heading like concat('%', #{param.dynamicHeading}, '%')
|
||||
</if>
|
||||
<if test="param.releaseStatus != null">
|
||||
and release_status = #{param.releaseStatus}
|
||||
</if>
|
||||
and (writer = #{param.writer}
|
||||
<if test="param.isAdmin != null and param.isAdmin != ''">
|
||||
or release_status = 1
|
||||
@@ -35,5 +38,6 @@
|
||||
or (release_status = 1 and user_id like concat('%', #{param.writer}, '%'))
|
||||
)
|
||||
</where>
|
||||
order by t.create_time desc
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user