This commit is contained in:
wangliwen 2022-06-27 16:43:21 +08:00
parent d7e947f086
commit 5e6b01256b
1 changed files with 1 additions and 0 deletions

View File

@ -759,6 +759,7 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
* 同步知识库
*/
@Override
@CacheEvict(key = selectDeptListKey, allEntries = true)
public void KnowledgeBase() {
final List<String> knowledgeUUID = jdbcTemplate.queryForList("SELECT note1 FROM tb_data_resource WHERE type ='知识库' AND note1 IS NOT NULL FOR UPDATE;", String.class).stream().distinct().collect(Collectors.toList());
final int pageSize = 100;