|
|
@ -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(); |
|
|
|