|
@@ -24,7 +24,7 @@ import java.util.concurrent.ConcurrentHashMap;
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
@Service
|
|
|
-public class SysTenantConfigServiceImpl extends BaseServiceImpl<Integer, SysTenantConfig> implements SysTenantConfigService, ApplicationEventPublisherAware {
|
|
|
+public class SysTenantConfigServiceImpl extends BaseServiceImpl<Integer, SysTenantConfig> implements SysTenantConfigService {
|
|
|
|
|
|
@Autowired
|
|
|
private SysTenantConfigDao sysTenantConfigDao;
|
|
@@ -39,13 +39,13 @@ public class SysTenantConfigServiceImpl extends BaseServiceImpl<Integer, SysTena
|
|
|
return sysTenantConfigDao;
|
|
|
}
|
|
|
|
|
|
- private ApplicationEventPublisher applicationEventPublisher;
|
|
|
+// private ApplicationEventPublisher applicationEventPublisher;
|
|
|
|
|
|
- @Override
|
|
|
- public void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher) {
|
|
|
- this.applicationEventPublisher = applicationEventPublisher;
|
|
|
- applicationEventPublisher.publishEvent(new TenantConfigChangeEvent(this));
|
|
|
- }
|
|
|
+// @Override
|
|
|
+// public void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher) {
|
|
|
+// this.applicationEventPublisher = applicationEventPublisher;
|
|
|
+// applicationEventPublisher.publishEvent(new TenantConfigChangeEvent(this));
|
|
|
+// }
|
|
|
|
|
|
@Override
|
|
|
public void setTenantConfig(ConcurrentHashMap<Integer, ConcurrentHashMap<String, String>> tenantConfig) {
|