|
@@ -146,7 +146,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
select id, email from sys_user where email = #{email} and del_flag = '0' limit 1
|
|
|
</select>
|
|
|
|
|
|
- <insert id="insertUser" parameterType="SysUser" useGeneratedKeys="true" keyProperty="userId">
|
|
|
+ <insert id="insertUser" parameterType="SysUser" useGeneratedKeys="true" keyProperty="id">
|
|
|
insert into sys_user(
|
|
|
<if test="id != null and id != 0">id,</if>
|
|
|
<if test="userId != null and userId != 0">user_id,</if>
|