1优化es导入策略,2增加默认图片,在读取网络图片失败时设置,防止一直失败重试

This commit is contained in:
xiongxiaoyang
2020-05-21 08:16:37 +08:00
parent 0144b77983
commit a13ea78c3f
5 changed files with 61 additions and 37 deletions

View File

@ -55,7 +55,7 @@
<select id="queryNetworkPicBooks" resultType="com.java2nb.novel.entity.Book">
select
id,pic_url from book
where pic_url like 'http://%' or pic_url like 'https://%'
where pic_url like 'http%'
limit #{offset},#{limit}
</select>