瀏覽代碼

1、机构账户修改conf应该改默认值
2、subject/queryPageTree 接口没有数据隔离

zouxuan 3 年之前
父節點
當前提交
277e190d48
共有 1 個文件被更改,包括 7 次插入7 次删除
  1. 7 7
      mec-biz/src/main/java/com/ym/mec/biz/service/impl/SysTenantConfigServiceImpl.java

+ 7 - 7
mec-biz/src/main/java/com/ym/mec/biz/service/impl/SysTenantConfigServiceImpl.java

@@ -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) {