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