|
|
|
@ -6,17 +6,17 @@ |
|
|
|
|
<insert id="addUserInfo" parameterType="com.huoran.nakadai.entity.UserInfo" useGeneratedKeys="true" |
|
|
|
|
keyProperty="userId"> |
|
|
|
|
INSERT INTO nakadai.hr_user_info (user_name, unique_identification, email,role_id,school_id,create_time, |
|
|
|
|
update_time,user_avatars) |
|
|
|
|
VALUES (#{userName}, #{uniqueIdentification}, #{email},0,0,now(), now(),#{userAvatars}) |
|
|
|
|
update_time,user_avatars,last_login_time,login_number) |
|
|
|
|
VALUES (#{userName}, #{uniqueIdentification}, #{email},0,0,now(), now(),#{userAvatars},now(),#{loginNumber}) |
|
|
|
|
</insert> |
|
|
|
|
|
|
|
|
|
<!--新增账号信息--> |
|
|
|
|
<insert id="addUserAccount" parameterType="com.huoran.common.entity.UserAccount" useGeneratedKeys="true" |
|
|
|
|
keyProperty="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}, |
|
|
|
|
now(), now(),#{appOpenId}) |
|
|
|
|
now(), now(),#{appOpenId},now(),now()) |
|
|
|
|
</insert> |
|
|
|
|
|
|
|
|
|
<update id="modifyUserInfo" parameterType="com.huoran.nakadai.entity.UserInfo"> |
|
|
|
|