提交 b9b5aa3c 编写于 作者: yongbo.wang's avatar yongbo.wang

更新名字

上级 dea95528
流水线 #16336 已失败 于阶段
in 0 second
...@@ -162,6 +162,7 @@ public class RegisterServiceImpl implements RegisterService { ...@@ -162,6 +162,7 @@ public class RegisterServiceImpl implements RegisterService {
@Override @Override
public void ocinRegister(OCINRequest request) { public void ocinRegister(OCINRequest request) {
String mobile = request.getMobile(); String mobile = request.getMobile();
String name = request.getName();
AccountInfoEntity accountInfoEntity = accountInfoDetailMapper.selectByMobile(mobile); AccountInfoEntity accountInfoEntity = accountInfoDetailMapper.selectByMobile(mobile);
if (accountInfoEntity == null) { if (accountInfoEntity == null) {
Date currentTime = new Date(); Date currentTime = new Date();
...@@ -177,6 +178,7 @@ public class RegisterServiceImpl implements RegisterService { ...@@ -177,6 +178,7 @@ public class RegisterServiceImpl implements RegisterService {
accountInfo.setRegTime(currentTime); accountInfo.setRegTime(currentTime);
accountInfo.setDeleteFlag(1); accountInfo.setDeleteFlag(1);
accountInfo.setSex(0); accountInfo.setSex(0);
accountInfo.setName(name);
accountInfo.setRegisterProduct(productType); accountInfo.setRegisterProduct(productType);
accountInfo.setRegisterSource(sourceType); accountInfo.setRegisterSource(sourceType);
accountInfoDetailMapper.insertSelective(accountInfo); accountInfoDetailMapper.insertSelective(accountInfo);
...@@ -194,6 +196,7 @@ public class RegisterServiceImpl implements RegisterService { ...@@ -194,6 +196,7 @@ public class RegisterServiceImpl implements RegisterService {
account.setFirstLoginTime(currentTime); account.setFirstLoginTime(currentTime);
account.setLastLoginTime(currentTime); account.setLastLoginTime(currentTime);
account.setPassword(""); account.setPassword("");
account.setName(name);
accountMapper.insertSelective(account); accountMapper.insertSelective(account);
Long userId = accountUtils.getUserIdByAcctId(productType, acctId); Long userId = accountUtils.getUserIdByAcctId(productType, acctId);
processAgreement(userId); processAgreement(userId);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册