‘liusuyi’
2023-07-07 5f5cf5b1b4683a56fd0c85a0d89d14a4c0268cde
ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -185,7 +185,7 @@
    <insert id="insertUser" parameterType="SysUser" useGeneratedKeys="true" keyProperty="userId">
        insert into sys_user(
        <if test="userId != null and userId != 0">user_id,</if>
        <if test="userId != null and userId != ''">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>