Commit 46fe2d62 authored by 赵啸非's avatar 赵啸非

添加应用白名单接口

parent 488faa89
Pipeline #2487 failed with stages
...@@ -544,7 +544,7 @@ public class MatterDatumServiceImpl extends AbstractCRUDServiceImpl<MatterDatumD ...@@ -544,7 +544,7 @@ public class MatterDatumServiceImpl extends AbstractCRUDServiceImpl<MatterDatumD
} }
}); });
if (ObjectUtils.isEmpty(list)) { if (ObjectUtils.isEmpty(list)&&!ObjectUtils.isEmpty(params.getMateriaFullName())) {
//添加更新热门词汇 //添加更新热门词汇
HotwordEntity hotwordEntity = hotwordService.selectOne(new HotwordQuery().siteId(params.getSiteId()).hotwords(params.getMateriaFullName()), context); HotwordEntity hotwordEntity = hotwordService.selectOne(new HotwordQuery().siteId(params.getSiteId()).hotwords(params.getMateriaFullName()), context);
if (ObjectUtils.isEmpty(hotwordEntity)) { if (ObjectUtils.isEmpty(hotwordEntity)) {
......
...@@ -75,7 +75,7 @@ public class MatterServiceImpl extends AbstractCRUDServiceImpl<MatterDao, Matter ...@@ -75,7 +75,7 @@ public class MatterServiceImpl extends AbstractCRUDServiceImpl<MatterDao, Matter
} }
} }
if (!ObjectUtils.isEmpty(list)) { if (!ObjectUtils.isEmpty(list)&&!ObjectUtils.isEmpty(entity.getMatterFullName())) {
//添加更新热门词汇 //添加更新热门词汇
HotwordEntity hotwordEntity = hotwordService.selectOne(new HotwordQuery().siteId(entity.getSiteId()).hotwords(entity.getMatterFullName()), context); HotwordEntity hotwordEntity = hotwordService.selectOne(new HotwordQuery().siteId(entity.getSiteId()).hotwords(entity.getMatterFullName()), context);
if (ObjectUtils.isEmpty(hotwordEntity)) { if (ObjectUtils.isEmpty(hotwordEntity)) {
......
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