|
@@ -293,10 +293,10 @@ public class JyUserPlatformServiceImpl extends ServiceImpl<IJyUserPlatformMapper
|
|
|
if(StringUtils.isBlank(param.getName()) || StringUtils.isBlank(param.getIdCard())) {
|
|
|
throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
|
|
|
}
|
|
|
-
|
|
|
JyPlatformUserWait byIdCard = platformUserWaitService.getByIdCard(param.getIdCard());
|
|
|
if(byIdCard != null){
|
|
|
- throw new BusinessException(ResultCode.ID_CARD_EXIT);
|
|
|
+ platformUserWaitService.updatePlatformId(byIdCard.getId(),getLoginPlatformId());
|
|
|
+ return;
|
|
|
}
|
|
|
JyUser byIdCard1 = jyUserService.getByIdCard(param.getIdCard());
|
|
|
|