Commit e402e3d7 authored by 赵啸非's avatar 赵啸非

修改feign降级时候工厂类

parent 002b81d4
...@@ -305,10 +305,10 @@ public class SiteServiceImpl extends AbstractCRUDCacheServiceImpl<SiteDao, SiteE ...@@ -305,10 +305,10 @@ public class SiteServiceImpl extends AbstractCRUDCacheServiceImpl<SiteDao, SiteE
siteEntity.setLogoFullPath(fullPath); siteEntity.setLogoFullPath(fullPath);
} }
if (!ObjectUtils.isEmpty(siteEntity) && !ObjectUtils.isEmpty(siteEntity.getModelIds())) { // if (!ObjectUtils.isEmpty(siteEntity) && !ObjectUtils.isEmpty(siteEntity.getModelIds())) {
List<Long> modelIdlist = StrUtil.split(siteEntity.getModelIds(), ",".charAt(0), -1, true, (String str) -> Long.parseLong(str)); // List<Long> modelIdlist = StrUtil.split(siteEntity.getModelIds(), ",".charAt(0), -1, true, (String str) -> Long.parseLong(str));
List<ModelEntity> collect =modelService.find(new ModelQuery().idList(modelIdlist)); // List<ModelEntity> collect =modelService.find(new ModelQuery().idList(modelIdlist));
siteEntity.setModelList(collect); // siteEntity.setModelList(collect);
} // }
} }
} }
\ No newline at end of file
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