Commit 08579ec0 authored by unset's avatar unset

123

parent 91e29dba
...@@ -185,10 +185,10 @@ ...@@ -185,10 +185,10 @@
and l.status = #{status} and l.status = #{status}
</if> </if>
<if test="nickname !=null and nickname != ''"> <if test="nickname !=null and nickname != ''">
and (d.nickname like CONCAT('%',#{nickname},'%') or d.realname like CONCAT('%',#{realName},'%')) and (d.nickname like CONCAT('%',#{nickname},'%') or d.realname like CONCAT('%',#{nickname},'%'))
</if> </if>
<if test="realName !=null and realName != ''"> <if test="realName !=null and realName != ''">
and (d.realname like CONCAT('%',#{realName},'%'), d.realname like CONCAT('%',#{realName},'%')) and (d.realname like CONCAT('%',#{realName},'%') or d.nickname like CONCAT('%',#{realName},'%'))
</if> </if>
order by l.id ASC order by l.id ASC
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment