|
@@ -39,16 +39,16 @@ public class ClientDetailsInitRunner implements InitializingBean {
|
|
|
|
|
|
private final RedisTemplate redisTemplate;
|
|
private final RedisTemplate redisTemplate;
|
|
|
|
|
|
-
|
|
|
|
@Async
|
|
@Async
|
|
@Order
|
|
@Order
|
|
@EventListener({ WebServerInitializedEvent.class })
|
|
@EventListener({ WebServerInitializedEvent.class })
|
|
- public void WebServerInit(){
|
|
|
|
|
|
+ public void WebServerInit() {
|
|
this.initClientDetails();
|
|
this.initClientDetails();
|
|
}
|
|
}
|
|
|
|
+
|
|
@Async
|
|
@Async
|
|
@Order
|
|
@Order
|
|
- @EventListener({ ClientDetailsInitEvent.class })
|
|
|
|
|
|
+ @TransactionalEventListener({ ClientDetailsInitEvent.class })
|
|
public void initClientDetails() {
|
|
public void initClientDetails() {
|
|
log.debug("初始化客户端信息开始 ");
|
|
log.debug("初始化客户端信息开始 ");
|
|
|
|
|