summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cn-admin/src/main/java/net/geedge/modules/entity/service/impl/EntityProfilesServiceImpl.java4
-rw-r--r--cn-admin/src/main/java/net/geedge/modules/entity/service/impl/EntitySourcesServiceImpl.java4
2 files changed, 0 insertions, 8 deletions
diff --git a/cn-admin/src/main/java/net/geedge/modules/entity/service/impl/EntityProfilesServiceImpl.java b/cn-admin/src/main/java/net/geedge/modules/entity/service/impl/EntityProfilesServiceImpl.java
index 886fdb3..e450d4a 100644
--- a/cn-admin/src/main/java/net/geedge/modules/entity/service/impl/EntityProfilesServiceImpl.java
+++ b/cn-admin/src/main/java/net/geedge/modules/entity/service/impl/EntityProfilesServiceImpl.java
@@ -74,10 +74,6 @@ public class EntityProfilesServiceImpl extends ServiceImpl<EntityProfilesDao, En
public void uploadConfig() {
// 查询所有配置数据
List<EntityProfiles> profiles = this.list();
- if(ObjectUtil.isEmpty(profiles)){
- log.debug("[EntityProfilesServiceImpl] [uploadConfig] [no data]");
- return;
- }
try {
boolean uploadflag = nacosServer.publishConfig(Constant.ENTITY_PROFILES_DATAID, Constant.NACOS_ENTITY_CONFIG_GROUP, JSON.toJSONString(profiles));
if(!uploadflag){
diff --git a/cn-admin/src/main/java/net/geedge/modules/entity/service/impl/EntitySourcesServiceImpl.java b/cn-admin/src/main/java/net/geedge/modules/entity/service/impl/EntitySourcesServiceImpl.java
index dd6ca74..80c7b18 100644
--- a/cn-admin/src/main/java/net/geedge/modules/entity/service/impl/EntitySourcesServiceImpl.java
+++ b/cn-admin/src/main/java/net/geedge/modules/entity/service/impl/EntitySourcesServiceImpl.java
@@ -84,10 +84,6 @@ public class EntitySourcesServiceImpl extends ServiceImpl<EntitySourcesDao, Enti
public void uploadConfig() {
// 查询所有配置数据
List<EntitySources> sources = this.list();
- if(ObjectUtil.isEmpty(sources)){
- log.debug("[EntitySourcesServiceImpl] [uploadConfig] [no data]");
- return;
- }
try {
boolean uploadflag = nacosServer.publishConfig(Constant.ENTITY_SOURCES_DATAID, Constant.NACOS_ENTITY_CONFIG_GROUP, JSON.toJSONString(sources));
if(!uploadflag){