From 20c544fbee2dc6d081edc09eabeb747e7cba7eec Mon Sep 17 00:00:00 2001
From: cheney <1251790704@qq.com>
Date: Fri, 26 Jan 2024 10:40:46 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E5=86=8C=E6=96=B0=E5=A2=9E=E7=99=BB?=
=?UTF-8?q?=E5=BD=95=E6=97=B6=E9=97=B4=E5=8F=8A=E6=AC=A1=E6=95=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../java/com/huoran/nakadai/mapper/xml/HrStaffMapper.xml | 8 ++++----
.../service/impl/PlatformTeamAccountServiceImpl.java | 1 -
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/nakadai/src/main/java/com/huoran/nakadai/mapper/xml/HrStaffMapper.xml b/nakadai/src/main/java/com/huoran/nakadai/mapper/xml/HrStaffMapper.xml
index 4de8894..fca92c3 100644
--- a/nakadai/src/main/java/com/huoran/nakadai/mapper/xml/HrStaffMapper.xml
+++ b/nakadai/src/main/java/com/huoran/nakadai/mapper/xml/HrStaffMapper.xml
@@ -6,17 +6,17 @@
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 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())
diff --git a/nakadai/src/main/java/com/huoran/nakadai/service/impl/PlatformTeamAccountServiceImpl.java b/nakadai/src/main/java/com/huoran/nakadai/service/impl/PlatformTeamAccountServiceImpl.java
index c2827de..1aa9f3f 100644
--- a/nakadai/src/main/java/com/huoran/nakadai/service/impl/PlatformTeamAccountServiceImpl.java
+++ b/nakadai/src/main/java/com/huoran/nakadai/service/impl/PlatformTeamAccountServiceImpl.java
@@ -310,7 +310,6 @@ public class PlatformTeamAccountServiceImpl extends ServiceImpl