|
@@ -90,6 +90,7 @@ public class UserRegisterController extends BaseController {
|
|
|
us.setPassword(passwordUtil.getEncryptPwd(us));
|
|
us.setPassword(passwordUtil.getEncryptPwd(us));
|
|
|
us.setNickname(user.getUnitName());
|
|
us.setNickname(user.getUnitName());
|
|
|
us.setSource(AFTConstants.USER_SOURCE_REGISTER);
|
|
us.setSource(AFTConstants.USER_SOURCE_REGISTER);
|
|
|
|
|
+ us.setType(user.getType());
|
|
|
us.setStatus(AFTConstants.USER_STATUS_NORMAL);
|
|
us.setStatus(AFTConstants.USER_STATUS_NORMAL);
|
|
|
us.setShareType(AFTConstants.USER_SHARE_PUBLIC);
|
|
us.setShareType(AFTConstants.USER_SHARE_PUBLIC);
|
|
|
us.setIdentifyName(StringUtils.isBlank(user.getUnitName())?"":user.getUnitName());
|
|
us.setIdentifyName(StringUtils.isBlank(user.getUnitName())?"":user.getUnitName());
|
|
@@ -142,6 +143,7 @@ public class UserRegisterController extends BaseController {
|
|
|
us.setUpdateTime(now.getTime());
|
|
us.setUpdateTime(now.getTime());
|
|
|
us.setPassword(passwordUtil.getEncryptPwd(us));
|
|
us.setPassword(passwordUtil.getEncryptPwd(us));
|
|
|
us.setNickname(user.getUnitName());
|
|
us.setNickname(user.getUnitName());
|
|
|
|
|
+ us.setType(user.getType());
|
|
|
us.setSource(AFTConstants.USER_SOURCE_REGISTER);
|
|
us.setSource(AFTConstants.USER_SOURCE_REGISTER);
|
|
|
us.setStatus(AFTConstants.USER_STATUS_NORMAL);
|
|
us.setStatus(AFTConstants.USER_STATUS_NORMAL);
|
|
|
us.setShareType(AFTConstants.USER_SHARE_PUBLIC);
|
|
us.setShareType(AFTConstants.USER_SHARE_PUBLIC);
|