Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
E
event
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
陈世强
event
Commits
c8ae44dc
提交
c8ae44dc
authored
7月 10, 2025
作者:
925993793@qq.com
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[fix] 研究中心-资讯来源分析bug修改
上级
20e3cf4e
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
5 行增加
和
4 行删除
+5
-4
StatisticalAnalysisController.java
...vent/controller/common/StatisticalAnalysisController.java
+0
-2
EsService.java
src/main/java/com/zzsn/event/es/EsService.java
+3
-2
InfoDataSearchCondition.java
src/main/java/com/zzsn/event/vo/InfoDataSearchCondition.java
+2
-0
没有找到文件。
src/main/java/com/zzsn/event/controller/common/StatisticalAnalysisController.java
浏览文件 @
c8ae44dc
...
@@ -153,7 +153,6 @@ public class StatisticalAnalysisController {
...
@@ -153,7 +153,6 @@ public class StatisticalAnalysisController {
}
}
}
}
}
}
for
(
CountVO
countVO
:
dataList
)
{
for
(
CountVO
countVO
:
dataList
)
{
List
<
CountVO
>
children
=
countVO
.
getChildren
();
List
<
CountVO
>
children
=
countVO
.
getChildren
();
sysDictItemService
.
changeKey
(
children
,
dictItemList
);
sysDictItemService
.
changeKey
(
children
,
dictItemList
);
...
@@ -188,7 +187,6 @@ public class StatisticalAnalysisController {
...
@@ -188,7 +187,6 @@ public class StatisticalAnalysisController {
dataList
.
add
(
countVO
);
dataList
.
add
(
countVO
);
}
}
}
}
sysDictItemService
.
changeKey
(
dataList
,
dictItemList
);
sysDictItemService
.
changeKey
(
dataList
,
dictItemList
);
return
Result
.
OK
(
dataList
);
return
Result
.
OK
(
dataList
);
}
}
...
...
src/main/java/com/zzsn/event/es/EsService.java
浏览文件 @
c8ae44dc
...
@@ -1743,11 +1743,12 @@ public class EsService {
...
@@ -1743,11 +1743,12 @@ public class EsService {
subjectIds
.
add
(
searchCondition
.
getSubjectId
());
subjectIds
.
add
(
searchCondition
.
getSubjectId
());
BoolQueryBuilder
boolQuery
=
buildQuery
(
searchCondition
,
subjectIds
);
BoolQueryBuilder
boolQuery
=
buildQuery
(
searchCondition
,
subjectIds
);
searchSourceBuilder
.
query
(
boolQuery
);
searchSourceBuilder
.
query
(
boolQuery
);
String
[]
includeValues
=
searchCondition
.
getIncludeValues
();
NestedAggregationBuilder
nestedAggregationBuilder
=
AggregationBuilders
.
nested
(
"labels"
,
"labels"
)
NestedAggregationBuilder
nestedAggregationBuilder
=
AggregationBuilders
.
nested
(
"labels"
,
"labels"
)
.
subAggregation
(
AggregationBuilders
.
terms
(
"groupTag"
)
.
subAggregation
(
AggregationBuilders
.
terms
(
"groupTag"
)
.
field
(
"labels.relationId"
)
.
field
(
"labels.relationId"
)
.
size
(
10
)
.
size
(
includeValues
.
length
)
.
includeExclude
(
new
IncludeExclude
(
searchCondition
.
getIncludeValues
()
,
searchCondition
.
getExcludeValues
())));
.
includeExclude
(
new
IncludeExclude
(
includeValues
,
searchCondition
.
getExcludeValues
())));
searchSourceBuilder
.
aggregation
(
nestedAggregationBuilder
);
searchSourceBuilder
.
aggregation
(
nestedAggregationBuilder
);
searchRequest
.
source
(
searchSourceBuilder
);
searchRequest
.
source
(
searchSourceBuilder
);
try
{
try
{
...
...
src/main/java/com/zzsn/event/vo/InfoDataSearchCondition.java
浏览文件 @
c8ae44dc
...
@@ -65,6 +65,8 @@ public class InfoDataSearchCondition {
...
@@ -65,6 +65,8 @@ public class InfoDataSearchCondition {
//平台-审核状态(null-全部;1-通过;2-未审核;3-暂定;4-删除;5-免审核)
//平台-审核状态(null-全部;1-通过;2-未审核;3-暂定;4-删除;5-免审核)
private
Integer
auditStatus
;
private
Integer
auditStatus
;
//审核操作(0:未审核 1:审核通过 2:审核未通过 3:暂定 默认值为0)
//审核操作(0:未审核 1:审核通过 2:审核未通过 3:暂定 默认值为0)
private
Integer
checkStatus
;
private
Integer
checkStatus
;
//删除标记(1:删除;0:未删除)
//删除标记(1:删除;0:未删除)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论