Commit b69bf223 authored by 赵浩琳's avatar 赵浩琳

金融调电商修改手机号存记录表设置userid

parent 29a896a0
...@@ -328,6 +328,7 @@ public class ModifyPhoneNoServiceImpl implements IModifyPhoneNoService { ...@@ -328,6 +328,7 @@ public class ModifyPhoneNoServiceImpl implements IModifyPhoneNoService {
userService.submitModifyPhone(modifyPhoneRecord.getPrevPhoneNo(), modifyPhoneRecord.getCurPhoneNo()); userService.submitModifyPhone(modifyPhoneRecord.getPrevPhoneNo(), modifyPhoneRecord.getCurPhoneNo());
UserModifyPhoneRecord record = new UserModifyPhoneRecord(); UserModifyPhoneRecord record = new UserModifyPhoneRecord();
BeanUtils.copyProperties(modifyPhoneRecord, record); BeanUtils.copyProperties(modifyPhoneRecord, record);
record.setUserId(user.getId());
modifyPhoneRecordRepository.saveAndFlush(record); modifyPhoneRecordRepository.saveAndFlush(record);
//登出此用户 //登出此用户
sessionService.deleteByUserId(user.getId()); sessionService.deleteByUserId(user.getId());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment