|
|
@ -6,17 +6,17 @@ |
|
|
|
<insert id="addUserInfo" parameterType="com.huoran.nakadai.entity.UserInfo" useGeneratedKeys="true" |
|
|
|
<insert id="addUserInfo" parameterType="com.huoran.nakadai.entity.UserInfo" useGeneratedKeys="true" |
|
|
|
keyProperty="userId"> |
|
|
|
keyProperty="userId"> |
|
|
|
INSERT INTO nakadai.hr_user_info (user_name, unique_identification, email,role_id,school_id,create_time, |
|
|
|
INSERT INTO nakadai.hr_user_info (user_name, unique_identification, email,role_id,school_id,create_time, |
|
|
|
update_time,user_avatars) |
|
|
|
update_time,user_avatars,last_login_time,login_number) |
|
|
|
VALUES (#{userName}, #{uniqueIdentification}, #{email},0,0,now(), now(),#{userAvatars}) |
|
|
|
VALUES (#{userName}, #{uniqueIdentification}, #{email},0,0,now(), now(),#{userAvatars},now(),#{loginNumber}) |
|
|
|
</insert> |
|
|
|
</insert> |
|
|
|
|
|
|
|
|
|
|
|
<!--新增账号信息--> |
|
|
|
<!--新增账号信息--> |
|
|
|
<insert id="addUserAccount" parameterType="com.huoran.common.entity.UserAccount" useGeneratedKeys="true" |
|
|
|
<insert id="addUserAccount" parameterType="com.huoran.common.entity.UserAccount" useGeneratedKeys="true" |
|
|
|
keyProperty="id"> |
|
|
|
keyProperty="id"> |
|
|
|
INSERT INTO nakadai.hr_user_account(user_id, account,phone , password, work_number, school_id, platform_id, |
|
|
|
INSERT INTO nakadai.hr_user_account(user_id, account,phone , password, work_number, school_id, platform_id, |
|
|
|
type, create_time, update_time,app_open_id) |
|
|
|
type, create_time, update_time,app_open_id,platform_bind_time,phone_binding_time) |
|
|
|
VALUES (#{userId}, #{account},#{phone}, #{password}, #{workNumber}, 0, #{platformId}, #{type}, |
|
|
|
VALUES (#{userId}, #{account},#{phone}, #{password}, #{workNumber}, 0, #{platformId}, #{type}, |
|
|
|
now(), now(),#{appOpenId}) |
|
|
|
now(), now(),#{appOpenId},now(),now()) |
|
|
|
</insert> |
|
|
|
</insert> |
|
|
|
|
|
|
|
|
|
|
|
<update id="modifyUserInfo" parameterType="com.huoran.nakadai.entity.UserInfo"> |
|
|
|
<update id="modifyUserInfo" parameterType="com.huoran.nakadai.entity.UserInfo"> |
|
|
|