Commit a04bb71777283366d7e15598afc4100a506c206c
Committed by
Gitee
1 parent
63992ac9
修复 用户管理 -> 修改用户 手机号码 和 邮箱 不能清空
Showing
1 changed file
with
2 additions
and
2 deletions
ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
| @@ -141,8 +141,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | @@ -141,8 +141,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||
| 141 | <if test="deptId != null and deptId != 0">dept_id = #{deptId},</if> | 141 | <if test="deptId != null and deptId != 0">dept_id = #{deptId},</if> |
| 142 | <if test="userName != null and userName != ''">user_name = #{userName},</if> | 142 | <if test="userName != null and userName != ''">user_name = #{userName},</if> |
| 143 | <if test="nickName != null and nickName != ''">nick_name = #{nickName},</if> | 143 | <if test="nickName != null and nickName != ''">nick_name = #{nickName},</if> |
| 144 | - <if test="email != null and email != ''">email = #{email},</if> | ||
| 145 | - <if test="phonenumber != null and phonenumber != ''">phonenumber = #{phonenumber},</if> | 144 | + <if test="email != null ">email = #{email},</if> |
| 145 | + <if test="phonenumber != null ">phonenumber = #{phonenumber},</if> | ||
| 146 | <if test="sex != null and sex != ''">sex = #{sex},</if> | 146 | <if test="sex != null and sex != ''">sex = #{sex},</if> |
| 147 | <if test="avatar != null and avatar != ''">avatar = #{avatar},</if> | 147 | <if test="avatar != null and avatar != ''">avatar = #{avatar},</if> |
| 148 | <if test="password != null and password != ''">password = #{password},</if> | 148 | <if test="password != null and password != ''">password = #{password},</if> |