|
|
@@ -59,7 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
left join fs_user u on c.fs_user_id = u.user_id
|
|
|
<where>
|
|
|
<if test="fsUserId != null "> and c.fs_user_id = #{fsUserId}</if>
|
|
|
- <if test="userName != null and userName != ''"> and u.nick_name = #{userName}</if>
|
|
|
+ <if test="nickName != null and nickName != ''"> and u.nick_name like CONCAT('%',#{nickName},'%')</if>
|
|
|
<if test="title != null and title != ''"> and c.title = #{title}</if>
|
|
|
<if test="content != null and content != ''"> and c.content = #{content}</if>
|
|
|
<if test="images != null and images != ''"> and c.images = #{images}</if>
|