Forráskód Böngészése

徐明浩
用户管理增加员工编号、姓名搜索项
用户管理去除手机号码唯一校验

徐明浩 3 éve
szülő
commit
685477c405

+ 6 - 0
master/src/main/resources/mybatis/system/SysUserMapper.xml

@@ -102,6 +102,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 		<if test="userName != null and userName != ''">
 			AND u.user_name like concat(concat('%',#{userName}),'%')
 		</if>
+		<if test="staffId != null and staffId != ''">
+			AND u.staffid like concat(concat('%',#{staffId}),'%')
+		</if>
+		<if test="nickName != null and nickName != ''">
+			AND u.nick_name like concat(concat('%',#{nickName}),'%')
+		</if>
 		<if test="status != null and status != ''">
 			AND u.status = #{status}
 		</if>