Commit 02b26af0 by 高鹏

Merge branch 'mymaster' into 'master'

早晚报

See merge request rays/pcloud-book!22
parents 3bc7a38c c5f6bdf4
......@@ -42,9 +42,6 @@ public class ESNewsBizImpl implements ESNewsBiz {
@Transactional(rollbackFor = Exception.class)
@Override
public void addAllNewsToES() {
if (newsRepository.count() > 0) {
return;
}
Integer count = newsDao.count();
LOGGER.info("总数:" + count);
if (null == count || count <= 0) {
......
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