编辑员工

hehai
shijie 4 years ago
parent 6b266b53b1
commit 3e60f8bda8
  1. 1
      src/main/java/com/msdw/tms/service/impl/SystemSettingServiceImpl.java

@ -60,6 +60,7 @@ public class SystemSettingServiceImpl implements SystemSetttingService {
@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);
staffVo.setUniqueIdentificationAccount(staffVo.getUniqueIdentificationAccount()).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();

Loading…
Cancel
Save