2 Commits

Author SHA1 Message Date
D哥
94e894bb56 Pre Merge pull request !398 from D哥/N/A 2025-03-10 03:45:53 +00:00
D哥
a374f2bdb6 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>
2025-03-09 05:25:23 +00:00

View File

@@ -146,6 +146,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
insert into sys_user( insert into sys_user(
<if test="userId != null and userId != 0">user_id,</if> <if test="userId != null and userId != 0">user_id,</if>
<if test="deptId != null and deptId != 0">dept_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="nickName != null and nickName != ''">nick_name,</if>
<if test="email != null and email != ''">email,</if> <if test="email != null and email != ''">email,</if>
<if test="avatar != null and avatar != ''">avatar,</if> <if test="avatar != null and avatar != ''">avatar,</if>