update ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml.
多半是官方误删了,把<if test="userName != null and userName != ''">user_name,</if>这一行补上去 Signed-off-by: D哥 <12271764+darrenteng@user.noreply.gitee.com>pull/398/head
parent
8c096cba8d
commit
a374f2bdb6
|
|
@ -146,6 +146,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
insert into sys_user(
|
||||
<if test="userId != null and userId != 0">user_id,</if>
|
||||
<if test="deptId != null and deptId != 0">dept_id,</if>
|
||||
<if test="userName != null and userName != ''">user_name,</if>
|
||||
<if test="nickName != null and nickName != ''">nick_name,</if>
|
||||
<if test="email != null and email != ''">email,</if>
|
||||
<if test="avatar != null and avatar != ''">avatar,</if>
|
||||
|
|
|
|||
Loading…
Reference in New Issue