编辑员工

hehai
shijie 4 years ago
parent d3fc5e5ad1
commit 0851e2ca19
  1. 2
      src/main/java/com/msdw/tms/service/impl/SystemSettingServiceImpl.java
  2. 3
      src/main/resources/mapper/tms/SystemSetting.xml

@ -59,7 +59,7 @@ public class SystemSettingServiceImpl implements SystemSetttingService {
@Override @Override
@Transactional @Transactional
public R addStaff(StaffVo staffVo) { 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 account = staffVo.getAccount();
String phone = staffVo.getPhone(); String phone = staffVo.getPhone();
String email = staffVo.getEmail(); String email = staffVo.getEmail();

@ -125,7 +125,8 @@
u.schoolId, u.schoolId,
u.phone, u.phone,
u.email, u.email,
u.account u.account,
u.uniqueIdentificationAccount
FROM FROM
hr_user_info u hr_user_info u
WHERE WHERE

Loading…
Cancel
Save