Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
E
event
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
陈世强
event
Commits
ff26c5fc
提交
ff26c5fc
authored
1月 06, 2025
作者:
925993793@qq.com
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
自定义专题-保存为数据集接口
上级
af2be853
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
130 行增加
和
48 行删除
+130
-48
InformationController.java
...m/zzsn/event/controller/common/InformationController.java
+25
-6
StatisticalAnalysisController.java
...vent/controller/common/StatisticalAnalysisController.java
+1
-1
EsService.java
src/main/java/com/zzsn/event/es/EsService.java
+9
-5
InformationService.java
src/main/java/com/zzsn/event/service/InformationService.java
+11
-2
InformationServiceImpl.java
...a/com/zzsn/event/service/impl/InformationServiceImpl.java
+49
-1
EsOpUtil.java
src/main/java/com/zzsn/event/util/EsOpUtil.java
+24
-26
InfoDataSearchCondition.java
src/main/java/com/zzsn/event/vo/InfoDataSearchCondition.java
+11
-7
没有找到文件。
src/main/java/com/zzsn/event/controller/common/InformationController.java
浏览文件 @
ff26c5fc
...
@@ -26,6 +26,7 @@ import java.util.ArrayList;
...
@@ -26,6 +26,7 @@ import java.util.ArrayList;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
import
java.util.concurrent.CompletableFuture
;
/**
/**
* 资讯
* 资讯
...
@@ -104,7 +105,7 @@ public class InformationController {
...
@@ -104,7 +105,7 @@ public class InformationController {
* @date 2024/2/28
* @date 2024/2/28
*/
*/
@GetMapping
(
"/search/condition/list"
)
@GetMapping
(
"/search/condition/list"
)
public
Result
<?>
queryInfo
(
@RequestParam
String
relationId
)
{
public
Result
<?>
queryInfo
(
@RequestParam
(
"subjectId"
)
String
relationId
)
{
UserVo
user
=
AuthUtil
.
getLoginUser
();
UserVo
user
=
AuthUtil
.
getLoginUser
();
String
userId
=
user
.
getId
();
String
userId
=
user
.
getId
();
LambdaQueryWrapper
<
SubjectUserCondition
>
queryWrapper
=
Wrappers
.
lambdaQuery
();
LambdaQueryWrapper
<
SubjectUserCondition
>
queryWrapper
=
Wrappers
.
lambdaQuery
();
...
@@ -192,17 +193,35 @@ public class InformationController {
...
@@ -192,17 +193,35 @@ public class InformationController {
/**
/**
* 事件对应专题库的资讯分页列表
* 事件对应专题库的资讯分页列表
*
*
* @param s
ubjectInfoVo
筛选条件
* @param s
earchCondition
筛选条件
* @author lkg
* @author lkg
* @date 2024/5/6
* @date 2024/5/6
*/
*/
@PostMapping
(
"/subjectPageList"
)
@PostMapping
(
"/subjectPageList"
)
public
Result
<?>
subjectPageList
(
@RequestBody
InfoDataSearchCondition
s
ubjectInfoVo
)
{
public
Result
<?>
subjectPageList
(
@RequestBody
InfoDataSearchCondition
s
earchCondition
)
{
UserVo
userVo
=
AuthUtil
.
getLoginUser
();
UserVo
userVo
=
AuthUtil
.
getLoginUser
();
IPage
<
DisplayInfo
>
pageList
=
informationService
.
subjectPageList
(
userVo
,
s
ubjectInfoVo
);
IPage
<
DisplayInfo
>
pageList
=
informationService
.
subjectPageList
(
userVo
,
s
earchCondition
);
return
Result
.
OK
(
pageList
);
return
Result
.
OK
(
pageList
);
}
}
/**
* 保存为数据集
*
* @param searchCondition 筛选条件
* @author lkg
* @date 2024/5/6
*/
@PostMapping
(
"/saveAsDataSet"
)
public
Result
<?>
saveAsDataSet
(
@RequestBody
InfoDataSearchCondition
searchCondition
)
{
String
dataSetId
=
searchCondition
.
getDataSetId
();
if
(
StringUtils
.
isEmpty
(
dataSetId
))
{
return
Result
.
FAIL
(
"数据集id不能为空"
);
}
CompletableFuture
.
runAsync
(()
->
informationService
.
saveAsDataSet
(
searchCondition
));
return
Result
.
OK
(
"数据集保存中。。。"
);
}
/**
/**
* 通过id查询(专题库)
* 通过id查询(专题库)
...
@@ -284,7 +303,7 @@ public class InformationController {
...
@@ -284,7 +303,7 @@ public class InformationController {
* @author lkg
* @author lkg
* @date 2024/12/19
* @date 2024/12/19
*/
*/
@PostMapping
(
value
=
"/delete
Info
Batch"
)
@PostMapping
(
value
=
"/deleteBatch"
)
public
Result
<?>
deleteBatch
(
@RequestBody
Map
<
String
,
Object
>
map
)
{
public
Result
<?>
deleteBatch
(
@RequestBody
Map
<
String
,
Object
>
map
)
{
UserVo
userVo
=
AuthUtil
.
getLoginUser
();
UserVo
userVo
=
AuthUtil
.
getLoginUser
();
informationService
.
deleteBatch
(
map
,
userVo
);
informationService
.
deleteBatch
(
map
,
userVo
);
...
@@ -298,7 +317,7 @@ public class InformationController {
...
@@ -298,7 +317,7 @@ public class InformationController {
* @author lkg
* @author lkg
* @date 2024/12/19
* @date 2024/12/19
*/
*/
@PostMapping
(
value
=
"/
delet
eBatch"
)
@PostMapping
(
value
=
"/
remov
eBatch"
)
public
Result
<?>
removeBatch
(
@RequestBody
Map
<
String
,
Object
>
map
)
{
public
Result
<?>
removeBatch
(
@RequestBody
Map
<
String
,
Object
>
map
)
{
informationService
.
removeBatch
(
map
);
informationService
.
removeBatch
(
map
);
return
Result
.
OK
();
return
Result
.
OK
();
...
...
src/main/java/com/zzsn/event/controller/common/StatisticalAnalysisController.java
浏览文件 @
ff26c5fc
...
@@ -25,7 +25,7 @@ import java.util.Map;
...
@@ -25,7 +25,7 @@ import java.util.Map;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
/**
/**
* 统计分析
* 统计分析
-研究中心
*
*
* @author lkg
* @author lkg
* @date 2024/12/25
* @date 2024/12/25
...
...
src/main/java/com/zzsn/event/es/EsService.java
浏览文件 @
ff26c5fc
...
@@ -1131,13 +1131,15 @@ public class EsService {
...
@@ -1131,13 +1131,15 @@ public class EsService {
searchSourceBuilder
.
trackTotalHits
(
true
);
searchSourceBuilder
.
trackTotalHits
(
true
);
//创建查询对象
//创建查询对象
BoolQueryBuilder
boolQuery
=
QueryBuilders
.
boolQuery
();
BoolQueryBuilder
boolQuery
=
QueryBuilders
.
boolQuery
();
//判断ids字段是否为空,若不为空,则表示按照id勾选
导出
//判断ids字段是否为空,若不为空,则表示按照id勾选
List
<
String
>
ids
=
searchCondition
.
getIds
();
List
<
String
>
ids
=
searchCondition
.
getIds
();
if
(
CollectionUtils
.
isNotEmpty
(
ids
))
{
if
(
CollectionUtils
.
isNotEmpty
(
ids
))
{
searchSourceBuilder
.
size
(
ids
.
size
());
searchSourceBuilder
.
size
(
ids
.
size
());
boolQuery
.
must
(
QueryBuilders
.
termsQuery
(
"id"
,
ids
));
boolQuery
.
must
(
QueryBuilders
.
termsQuery
(
"id"
,
ids
));
List
<
String
>
sourceIdList
=
searchCondition
.
getSourceIdList
();
List
<
String
>
sourceIdList
=
searchCondition
.
getSourceIdList
();
boolQuery
.
must
(
QueryBuilders
.
termsQuery
(
"sid.keyword"
,
sourceIdList
));
if
(
CollectionUtils
.
isNotEmpty
(
sourceIdList
))
{
boolQuery
.
must
(
QueryBuilders
.
termsQuery
(
"sid.keyword"
,
sourceIdList
));
}
}
else
{
}
else
{
//设置分页参数
//设置分页参数
Integer
pageNo
=
searchCondition
.
getPageNo
();
Integer
pageNo
=
searchCondition
.
getPageNo
();
...
@@ -1167,6 +1169,7 @@ public class EsService {
...
@@ -1167,6 +1169,7 @@ public class EsService {
String
queryInfo
=
hit
.
getSourceAsString
();
String
queryInfo
=
hit
.
getSourceAsString
();
SpecialInformation
info
=
JSON
.
parseObject
(
queryInfo
,
SpecialInformation
.
class
);
SpecialInformation
info
=
JSON
.
parseObject
(
queryInfo
,
SpecialInformation
.
class
);
info
.
setPublishDate
(
EsDateUtil
.
esFieldDateMapping
(
info
.
getPublishDate
()));
info
.
setPublishDate
(
EsDateUtil
.
esFieldDateMapping
(
info
.
getPublishDate
()));
info
.
setIndex
(
hit
.
getIndex
());
dataList
.
add
(
info
);
dataList
.
add
(
info
);
}
}
}
catch
(
IOException
e
)
{
}
catch
(
IOException
e
)
{
...
@@ -1516,7 +1519,7 @@ public class EsService {
...
@@ -1516,7 +1519,7 @@ public class EsService {
* @date 2024/12/26
* @date 2024/12/26
*/
*/
public
List
<
CountVO
>
groupByClassificationType
(
InfoDataSearchCondition
searchCondition
)
{
public
List
<
CountVO
>
groupByClassificationType
(
InfoDataSearchCondition
searchCondition
)
{
return
groupByTerm
(
searchCondition
,
"group"
,
"classificationType"
,
false
);
return
groupByTerm
(
searchCondition
,
"group"
,
"classificationType"
,
false
);
}
}
/**
/**
...
@@ -1742,8 +1745,9 @@ public class EsService {
...
@@ -1742,8 +1745,9 @@ public class EsService {
if
(
StringUtils
.
isNotBlank
(
crawler
))
{
if
(
StringUtils
.
isNotBlank
(
crawler
))
{
boolQuery
.
must
(
QueryBuilders
.
termQuery
(
"source.keyword"
,
crawler
));
boolQuery
.
must
(
QueryBuilders
.
termQuery
(
"source.keyword"
,
crawler
));
}
}
Set
<
String
>
relationIdSet
=
new
HashSet
<>(
searchCondition
.
getLabelIds
());
List
<
String
>
labelIds
=
searchCondition
.
getLabelIds
();
if
(
CollectionUtils
.
isNotEmpty
(
relationIdSet
))
{
if
(
CollectionUtils
.
isNotEmpty
(
labelIds
))
{
Set
<
String
>
relationIdSet
=
new
HashSet
<>(
labelIds
);
BoolQueryBuilder
nestedBoolQueryBuilder
=
QueryBuilders
.
boolQuery
();
BoolQueryBuilder
nestedBoolQueryBuilder
=
QueryBuilders
.
boolQuery
();
for
(
String
relationId
:
relationIdSet
)
{
for
(
String
relationId
:
relationIdSet
)
{
TermQueryBuilder
relationIdQuery
=
QueryBuilders
.
termQuery
(
"labels.relationId"
,
relationId
);
TermQueryBuilder
relationIdQuery
=
QueryBuilders
.
termQuery
(
"labels.relationId"
,
relationId
);
...
...
src/main/java/com/zzsn/event/service/InformationService.java
浏览文件 @
ff26c5fc
...
@@ -30,14 +30,23 @@ public interface InformationService {
...
@@ -30,14 +30,23 @@ public interface InformationService {
/**
/**
* 专题库资讯分页列表
* 专题库资讯分页列表
*
*
* @param userVo
用户信息
* @param userVo 用户信息
* @param subjectInfo
筛选条件
* @param subjectInfo 筛选条件
* @author lkg
* @author lkg
* @date 2024/5/6
* @date 2024/5/6
*/
*/
IPage
<
DisplayInfo
>
subjectPageList
(
UserVo
userVo
,
InfoDataSearchCondition
subjectInfo
);
IPage
<
DisplayInfo
>
subjectPageList
(
UserVo
userVo
,
InfoDataSearchCondition
subjectInfo
);
/**
/**
* 保存数据集-研究中心
*
* @param searchCondition 筛选条件
* @author lkg
* @date 2025/1/6
*/
void
saveAsDataSet
(
InfoDataSearchCondition
searchCondition
);
/**
* 资讯详情
* 资讯详情
*
*
* @param type 类别(1-采集库;2-专题库)
* @param type 类别(1-采集库;2-专题库)
...
...
src/main/java/com/zzsn/event/service/impl/InformationServiceImpl.java
浏览文件 @
ff26c5fc
...
@@ -167,6 +167,54 @@ public class InformationServiceImpl implements InformationService {
...
@@ -167,6 +167,54 @@ public class InformationServiceImpl implements InformationService {
}
}
@Override
@Override
public
void
saveAsDataSet
(
InfoDataSearchCondition
searchCondition
)
{
String
[]
fetchFields
=
new
String
[]{
"id"
,
"labels"
};
searchCondition
.
setFetchFields
(
fetchFields
);
searchCondition
.
setPageSize
(
300
);
Label
dataSet
=
new
Label
();
String
dataSetId
=
searchCondition
.
getDataSetId
();
dataSet
.
setRelationId
(
dataSetId
);
//totalMap结构 index >> id >> updateField
Map
<
String
,
Map
<
String
,
Map
<
String
,
Object
>>>
totalMap
=
new
HashMap
<>();
for
(
int
i
=
1
;
;
i
++)
{
searchCondition
.
setPageNo
(
i
);
List
<
SpecialInformation
>
informationList
=
esService
.
informationList
(
searchCondition
);
log
.
info
(
"保存数据集:本次循环-{},数据量为-{}"
,
i
,
informationList
.
size
());
if
(
CollectionUtils
.
isEmpty
(
informationList
))
{
break
;
}
for
(
SpecialInformation
information
:
informationList
)
{
String
id
=
information
.
getId
();
String
index
=
information
.
getIndex
();
List
<
Label
>
labels
=
information
.
getLabels
();
if
(
CollectionUtils
.
isNotEmpty
(
labels
))
{
boolean
present
=
labels
.
stream
().
anyMatch
(
label
->
label
.
getRelationId
().
equals
(
dataSetId
));
if
(!
present
)
{
labels
.
add
(
dataSet
);
}
}
else
{
labels
.
add
(
dataSet
);
}
Map
<
String
,
Object
>
updateField
=
new
HashMap
<>();
updateField
.
put
(
"labels"
,
labels
);
if
(
totalMap
.
containsKey
(
index
))
{
totalMap
.
get
(
index
).
put
(
id
,
updateField
);
}
else
{
//updateFields结构 id >> updateField
Map
<
String
,
Map
<
String
,
Object
>>
updateFields
=
new
HashMap
<>();
updateFields
.
put
(
id
,
updateField
);
totalMap
.
put
(
index
,
updateFields
);
}
}
}
for
(
Map
.
Entry
<
String
,
Map
<
String
,
Map
<
String
,
Object
>>>
entry
:
totalMap
.
entrySet
())
{
String
index
=
entry
.
getKey
();
Map
<
String
,
Map
<
String
,
Object
>>
value
=
entry
.
getValue
();
esOpUtil
.
bulkUpdateFields
(
index
,
value
);
}
}
@Override
public
List
<
List
<
String
>>
statisticsExportList
(
String
subjectId
,
String
startDate
,
String
endDate
)
{
public
List
<
List
<
String
>>
statisticsExportList
(
String
subjectId
,
String
startDate
,
String
endDate
)
{
List
<
String
>
subjectIdList
=
new
ArrayList
<>();
List
<
String
>
subjectIdList
=
new
ArrayList
<>();
//查询类别id的所有明细id
//查询类别id的所有明细id
...
@@ -199,7 +247,7 @@ public class InformationServiceImpl implements InformationService {
...
@@ -199,7 +247,7 @@ public class InformationServiceImpl implements InformationService {
sum
+=
Math
.
toIntExact
(
count
);
sum
+=
Math
.
toIntExact
(
count
);
}
}
}
}
List
<
String
>
list
=
new
ArrayList
<>(
subjectStatisticsVo
.
toExcelList
()
);
List
<
String
>
list
=
subjectStatisticsVo
.
toExcelList
(
);
//信息源在时间段内的采集总量
//信息源在时间段内的采集总量
list
.
add
(
String
.
valueOf
(
sum
));
list
.
add
(
String
.
valueOf
(
sum
));
//信息源采集到数据的日期集合
//信息源采集到数据的日期集合
...
...
src/main/java/com/zzsn/event/util/EsOpUtil.java
浏览文件 @
ff26c5fc
package
com
.
zzsn
.
event
.
util
;
package
com
.
zzsn
.
event
.
util
;
import
cn.hutool.core.collection.CollUtil
;
import
cn.hutool.core.collection.CollectionUtil
;
import
cn.hutool.core.collection.CollectionUtil
;
import
cn.hutool.core.util.ObjectUtil
;
import
cn.hutool.core.util.ObjectUtil
;
import
com.alibaba.fastjson2.JSON
;
import
com.alibaba.fastjson2.JSON
;
...
@@ -701,12 +702,12 @@ public class EsOpUtil<T> {
...
@@ -701,12 +702,12 @@ public class EsOpUtil<T> {
* 根据UpdateResponse的结果进行处理,如果更新成功,则打印日志;如果没有进行任何更改,则打印日志;如果更新失败,则打印日志。
* 根据UpdateResponse的结果进行处理,如果更新成功,则打印日志;如果没有进行任何更改,则打印日志;如果更新失败,则打印日志。
*/
*/
public
void
updateById
(
String
index
,
String
id
,
Map
<
String
,
Object
>
args
)
{
public
void
updateById
(
String
index
,
String
id
,
Map
<
String
,
Object
>
args
)
{
if
(
Coll
ection
Util
.
isEmpty
(
args
))
{
if
(
CollUtil
.
isEmpty
(
args
))
{
return
;
return
;
}
}
// 执行更新请求
// 执行更新请求
try
{
try
{
UpdateResponse
response
=
client
.
update
(
createUpdateRequest
(
index
,
id
,
args
),
RequestOptions
.
DEFAULT
);
UpdateResponse
response
=
client
.
update
(
createUpdateRequest
(
index
,
id
,
args
,
true
),
RequestOptions
.
DEFAULT
);
RestStatus
status
=
response
.
status
();
RestStatus
status
=
response
.
status
();
if
(
status
.
getStatus
()
!=
200
)
{
if
(
status
.
getStatus
()
!=
200
)
{
log
.
info
(
"{},更新失败"
,
id
);
log
.
info
(
"{},更新失败"
,
id
);
...
@@ -714,10 +715,8 @@ public class EsOpUtil<T> {
...
@@ -714,10 +715,8 @@ public class EsOpUtil<T> {
}
catch
(
IOException
e
)
{
}
catch
(
IOException
e
)
{
log
.
info
(
"{},更新异常"
,
id
);
log
.
info
(
"{},更新异常"
,
id
);
}
}
}
}
/**
/**
* 根据id更新,批量更新
* 根据id更新,批量更新
* 参数:index表示索引名称,batch表示要批量更新的文档,其中batch是一个Map,key为文档的id,value为要更新的字段和对应的值。
* 参数:index表示索引名称,batch表示要批量更新的文档,其中batch是一个Map,key为文档的id,value为要更新的字段和对应的值。
...
@@ -727,32 +726,29 @@ public class EsOpUtil<T> {
...
@@ -727,32 +726,29 @@ public class EsOpUtil<T> {
* 使用client.bulk方法执行批量更新请求,返回一个BulkResponse对象。
* 使用client.bulk方法执行批量更新请求,返回一个BulkResponse对象。
* 根据BulkResponse的结果进行处理,如果有更新失败的情况,则打印日志;如果全部更新成功,则打印日志。
* 根据BulkResponse的结果进行处理,如果有更新失败的情况,则打印日志;如果全部更新成功,则打印日志。
*/
*/
public
void
bulkUpdateDocuments
(
String
index
,
Map
<
String
,
Map
<
String
,
Object
>>
batch
)
throws
IOException
{
public
void
bulkUpdateFields
(
String
index
,
Map
<
String
,
Map
<
String
,
Object
>>
args
)
{
if
(
CollUtil
.
isEmpty
(
args
))
{
if
(
CollectionUtil
.
isEmpty
(
batch
))
{
return
;
return
;
}
}
BulkRequest
bulkRequest
=
new
BulkRequest
();
BulkRequest
bulkRequest
=
new
BulkRequest
();
// 添加批量更新的请求
args
.
forEach
((
id
,
args1
)
->
{
batch
.
forEach
((
id
,
args
)
->
{
try
{
try
{
bulkRequest
.
add
(
createUpdateRequest
(
index
,
id
,
args
));
bulkRequest
.
add
(
createUpdateRequest
(
index
,
id
,
args
1
,
false
));
}
catch
(
IOException
e
)
{
}
catch
(
IOException
e
)
{
log
.
info
(
"添加更新请求异常"
);
e
.
printStackTrace
(
);
}
}
});
});
// 添加更多的更新请求
// 执行更新请求
try
{
// 执行批量更新请求
BulkResponse
bulk
=
client
.
bulk
(
bulkRequest
,
RequestOptions
.
DEFAULT
);
BulkResponse
bulkResponse
=
client
.
bulk
(
bulkRequest
,
RequestOptions
.
DEFAULT
);
BulkItemResponse
[]
bulkItemResponses
=
bulk
.
getItems
();
for
(
BulkItemResponse
response
:
bulkItemResponses
)
{
// 处理批量更新的响应结果
if
(
response
.
isFailed
())
{
if
(
bulkResponse
.
hasFailures
())
{
log
.
info
(
"批量更新字段[{}]过程中,id为[{}]的更新失败,失败原因[{}]"
,
response
.
getIndex
(),
response
.
getId
(),
response
.
getFailureMessage
());
// 处理失败的情况
}
log
.
info
(
"批量更新失败{}"
,
batch
);
}
}
else
{
}
catch
(
IOException
e
)
{
// 处理成功的情况
e
.
printStackTrace
();
log
.
info
(
"批量更新成功{}"
,
batch
);
}
}
}
}
...
@@ -764,10 +760,12 @@ public class EsOpUtil<T> {
...
@@ -764,10 +760,12 @@ public class EsOpUtil<T> {
* 将contentBuilder设置为更新请求的内容。
* 将contentBuilder设置为更新请求的内容。
* 返回更新请求UpdateRequest对象。
* 返回更新请求UpdateRequest对象。
*/
*/
private
UpdateRequest
createUpdateRequest
(
String
index
,
String
documentId
,
Map
<
String
,
Object
>
args
)
throws
IOException
{
private
UpdateRequest
createUpdateRequest
(
String
index
,
String
documentId
,
Map
<
String
,
Object
>
args
,
Boolean
refreshPolicy
)
throws
IOException
{
UpdateRequest
request
=
new
UpdateRequest
(
index
,
documentId
);
UpdateRequest
request
=
new
UpdateRequest
(
index
,
documentId
);
//刷新策略,立即刷新
if
(
Boolean
.
TRUE
.
equals
(
refreshPolicy
))
{
request
.
setRefreshPolicy
(
WriteRequest
.
RefreshPolicy
.
IMMEDIATE
);
//刷新策略,立即刷新
request
.
setRefreshPolicy
(
WriteRequest
.
RefreshPolicy
.
IMMEDIATE
);
}
// 创建要更新的内容
// 创建要更新的内容
XContentBuilder
contentBuilder
=
XContentFactory
.
jsonBuilder
();
XContentBuilder
contentBuilder
=
XContentFactory
.
jsonBuilder
();
contentBuilder
.
startObject
();
contentBuilder
.
startObject
();
...
...
src/main/java/com/zzsn/event/vo/InfoDataSearchCondition.java
浏览文件 @
ff26c5fc
...
@@ -60,23 +60,27 @@ public class InfoDataSearchCondition {
...
@@ -60,23 +60,27 @@ public class InfoDataSearchCondition {
private
String
isSubject
=
"1"
;
private
String
isSubject
=
"1"
;
//爬虫类型
//爬虫类型
private
String
crawler
;
private
String
crawler
;
//
企业
标签id集合
//标签id集合
private
List
<
String
>
labelTypeIds
;
private
List
<
String
>
labelTypeIds
;
//关联标签id集合
//关联标签
值
id集合
private
List
<
String
>
labelIds
;
private
List
<
String
>
labelIds
;
//信息源id
//信息源id
private
String
sourceId
;
private
String
sourceId
;
//搜索词信息集合
//搜索词信息集合
-研究中心
private
List
<
SearchWordVO
>
searchWordList
;
private
List
<
SearchWordVO
>
searchWordList
;
//关键词信息;推荐信息源时使用
//数据集id,保存数据集时使用-研究中心
private
String
dataSetId
;
//关键词信息;推荐信息源时使用-研究中心
private
List
<
String
>
wordsList
;
private
List
<
String
>
wordsList
;
//是否免审核(1-是;0-否)
//是否免审核(1-是;0-否)
private
Integer
isFreeCheck
;
private
Integer
isFreeCheck
;
//得分范围
//得分范围
-研究中心
//最小得分
//最小得分
private
Integer
minScore
;
private
Integer
minScore
;
//最大得分
//最大得分
...
@@ -97,10 +101,10 @@ public class InfoDataSearchCondition {
...
@@ -97,10 +101,10 @@ public class InfoDataSearchCondition {
//每页返回条数
//每页返回条数
private
Integer
pageSize
=
10
;
private
Integer
pageSize
=
10
;
//资讯id集合,导出/专题分析时
使用
//资讯id集合,导出/专题分析时
使用-研究中心
private
List
<
String
>
ids
;
private
List
<
String
>
ids
;
/*------资讯导出类参数---start-------------------*/
/*------资讯导出类参数-
研究中心-
--start-------------------*/
//导出方式(1-摘要;2-正文)
//导出方式(1-摘要;2-正文)
private
Integer
exportType
;
private
Integer
exportType
;
/*------资讯导出类参数---end-------------------*/
/*------资讯导出类参数---end-------------------*/
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论