Commit 08579ec0 authored by unset's avatar unset

123

parent 91e29dba
......@@ -185,10 +185,10 @@
and l.status = #{status}
</if>
<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 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>
order by l.id ASC
</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