Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
7634484e
Commit
7634484e
authored
Jul 07, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(综合搜索):2次需求变更增加字段
1.、是否球馆、发证日期
parent
549b47c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
DataHandlerServiceImpl.java
...ot/module/jg/biz/service/impl/DataHandlerServiceImpl.java
+4
-3
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/DataHandlerServiceImpl.java
View file @
7634484e
...
@@ -1504,7 +1504,8 @@ public class DataHandlerServiceImpl {
...
@@ -1504,7 +1504,8 @@ public class DataHandlerServiceImpl {
StopWatch
watch
=
new
StopWatch
();
StopWatch
watch
=
new
StopWatch
();
watch
.
start
();
watch
.
start
();
Integer
maxVersion
=
useInfoService
.
getBaseMapper
().
selectMaxVersion
();
Integer
maxVersion
=
useInfoService
.
getBaseMapper
().
selectMaxVersion
();
List
<
String
>
refreshRecords
=
useInfoService
.
getBaseMapper
().
selectUseInfoOfOneVersionAll
(
maxVersion
);
Integer
nextVersion
=
maxVersion
+
1
;
List
<
String
>
refreshRecords
=
useInfoService
.
getBaseMapper
().
selectUseInfoOfOneVersionAll
(
nextVersion
);
while
(!
refreshRecords
.
isEmpty
())
{
while
(!
refreshRecords
.
isEmpty
())
{
List
<
ESEquipmentInfo
>
esEquipmentInfos
=
refreshRecords
.
parallelStream
().
map
(
record
->
{
List
<
ESEquipmentInfo
>
esEquipmentInfos
=
refreshRecords
.
parallelStream
().
map
(
record
->
{
ESEquipmentInfo
esEquipmentInfo
=
null
;
ESEquipmentInfo
esEquipmentInfo
=
null
;
...
@@ -1561,8 +1562,8 @@ public class DataHandlerServiceImpl {
...
@@ -1561,8 +1562,8 @@ public class DataHandlerServiceImpl {
if
(!
esEquipmentInfos
.
isEmpty
()){
if
(!
esEquipmentInfos
.
isEmpty
()){
esEquipmentDao
.
saveAll
(
esEquipmentInfos
);
esEquipmentDao
.
saveAll
(
esEquipmentInfos
);
}
}
useInfoService
.
getBaseMapper
().
updateVersionBatch
(
refreshRecords
,
maxVersion
+
1
);
useInfoService
.
getBaseMapper
().
updateVersionBatch
(
refreshRecords
,
nextVersion
);
refreshRecords
=
useInfoService
.
getBaseMapper
().
selectUseInfoOfOneVersionAll
(
max
Version
);
refreshRecords
=
useInfoService
.
getBaseMapper
().
selectUseInfoOfOneVersionAll
(
next
Version
);
}
}
watch
.
stop
();
watch
.
stop
();
log
.
info
(
"综合统计设备信息入库结束,耗时:{}秒"
,
watch
.
getTotalTimeSeconds
());
log
.
info
(
"综合统计设备信息入库结束,耗时:{}秒"
,
watch
.
getTotalTimeSeconds
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment