From 0851e2ca19e824d9eaf837557e128e99acdd62e6 Mon Sep 17 00:00:00 2001 From: shijie <648688341@qq.com> Date: Tue, 18 May 2021 17:17:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=91=98=E5=B7=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/msdw/tms/service/impl/SystemSettingServiceImpl.java | 2 +- src/main/resources/mapper/tms/SystemSetting.xml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/msdw/tms/service/impl/SystemSettingServiceImpl.java b/src/main/java/com/msdw/tms/service/impl/SystemSettingServiceImpl.java index 0dff1d7..a0fc518 100644 --- a/src/main/java/com/msdw/tms/service/impl/SystemSettingServiceImpl.java +++ b/src/main/java/com/msdw/tms/service/impl/SystemSettingServiceImpl.java @@ -59,7 +59,7 @@ public class SystemSettingServiceImpl implements SystemSetttingService { @Override @Transactional public R addStaff(StaffVo staffVo) { - staffVo.setUniqueIdentificationAccount(String.valueOf(System.currentTimeMillis())).setIsdel(Constant.IsDel.NOT_DEL.getType()).setPassword(ConstantUtils.INITIAL_PASSWORD).setToken(new ConstantUtils().token); + //staffVo.setUniqueIdentificationAccount(String.valueOf(System.currentTimeMillis())).setIsdel(Constant.IsDel.NOT_DEL.getType()).setPassword(ConstantUtils.INITIAL_PASSWORD).setToken(new ConstantUtils().token); String account = staffVo.getAccount(); String phone = staffVo.getPhone(); String email = staffVo.getEmail(); diff --git a/src/main/resources/mapper/tms/SystemSetting.xml b/src/main/resources/mapper/tms/SystemSetting.xml index 04940f3..a433787 100644 --- a/src/main/resources/mapper/tms/SystemSetting.xml +++ b/src/main/resources/mapper/tms/SystemSetting.xml @@ -125,7 +125,8 @@ u.schoolId, u.phone, u.email, - u.account + u.account, + u.uniqueIdentificationAccount FROM hr_user_info u WHERE