1、sonarqube质量修复;2、短信日志导出请求url修正;3、新增支持删除机构、部门同时删除下属用户;4、token支持存deptId;

This commit is contained in:
gaoqr
2024-10-10 16:37:28 +08:00
parent c0cc38c691
commit 7e53f34a6a
18 changed files with 197 additions and 13 deletions
@@ -1,6 +1,6 @@
package com.cf.imes.module.executor.service.order;
import cn.hutool.core.collection.CollectionUtil;
import cn.hutool.core.collection.CollUtil;
import co.elastic.clients.elasticsearch.ElasticsearchClient;
import co.elastic.clients.elasticsearch._types.FieldValue;
import co.elastic.clients.elasticsearch.core.*;
@@ -211,7 +211,7 @@ public class OrderInputProcessor {
try {
SearchResponse<?> search = elasticsearchClient.search(builder.build(), Object.class);
List<? extends Hit<?>> hits = search.hits().hits();
if (CollectionUtil.isNotEmpty(hits)) {
if (CollUtil.isNotEmpty(hits)) {
return hits.stream().map(Hit::id).collect(Collectors.toList());
}
return new ArrayList<>();