Commit 84bfe6b1 authored by 王亮's avatar 王亮

Merge remote-tracking branch 'origin/feature-migration-20230628' into feature-migration-20230628

parents e09b0059 1cb760e2
......@@ -49,8 +49,14 @@ public class UserTagLoginEventListener implements ApplicationListener<UserLoginE
userTagRepository.save(preTag);
User user = userService.findById(preTag.getUserId(),preTag.getTenantId());
//补签合同,如果需要补签
userService.channelUserSignContract(user,userTag.getRegisteredFrom(),userTag.getTenantId());
try {
//补签合同,如果需要补签 BlackHoleRegisteredEventListener 签署注册和隐私协议
//此处补签,对于合同中心,可能会重新签署,后续待合同中心处理并发问题或者重复签署逻辑
Thread.sleep(3000);
userService.channelUserSignContract(user,userTag.getRegisteredFrom(),userTag.getTenantId());
} catch (InterruptedException e) {
e.printStackTrace();
}
}
}
}
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