|
@@ -60,6 +60,9 @@
|
|
|
and (t.full_head LIKE CONCAT('%',#{dto.keyword},'%')
|
|
and (t.full_head LIKE CONCAT('%',#{dto.keyword},'%')
|
|
|
or t.news_content LIKE CONCAT('%',#{dto.keyword},'%'))
|
|
or t.news_content LIKE CONCAT('%',#{dto.keyword},'%'))
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="dto.loginId != null and dto.loginRoleId != null and dto.loginRoleId == 4">
|
|
|
|
|
+ and t3.user_id = #{dto.loginId}
|
|
|
|
|
+ </if>
|
|
|
<if test="dto.loginId != null and dto.readMark != null">
|
|
<if test="dto.loginId != null and dto.readMark != null">
|
|
|
and t3.read_mark = #{dto.readMark}
|
|
and t3.read_mark = #{dto.readMark}
|
|
|
</if>
|
|
</if>
|