Commit 0a174b2c authored by unset's avatar unset

123

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