Commit 0a174b2c authored by unset's avatar unset

123

parent 64e3f188
...@@ -78,6 +78,8 @@ public class AppUserManageDTO { ...@@ -78,6 +78,8 @@ public class AppUserManageDTO {
* 状态:0-启用,1-禁用 * 状态:0-启用,1-禁用
*/ */
private Integer status; private Integer status;
private String nickname;
// /** // /**
// * 接收前台时间范围 // * 接收前台时间范围
// */ // */
......
...@@ -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},'%') and (d.nickname like CONCAT('%',#{nickname},'%') or d.realname like CONCAT('%',#{realName},'%'))
</if> </if>
<if test="realName !=null and realName != ''"> <if test="realName !=null and realName != ''">
and d.realname like CONCAT('%',#{realName},'%') and (d.realname like CONCAT('%',#{realName},'%'), d.realname 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