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
eafb8348
Commit
eafb8348
authored
Feb 13, 2025
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug 27035 未纳管装备删除
parent
4037bec5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
IdxBizJgProjectContraptionServiceImpl.java
...z/service/impl/IdxBizJgProjectContraptionServiceImpl.java
+7
-5
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/IdxBizJgProjectContraptionServiceImpl.java
View file @
eafb8348
...
...
@@ -130,11 +130,13 @@ public class IdxBizJgProjectContraptionServiceImpl extends BaseService<IdxBizJgP
List
<
IdxBizJgUseInfo
>
useInfos
=
useInfoService
.
lambdaQuery
().
select
(
IdxBizJgUseInfo:
:
getRecord
).
eq
(
IdxBizJgUseInfo:
:
getProjectContraptionId
,
sequenceNbr
).
list
();
// 删除idx设备表信息 + 删除对应es数据
List
<
String
>
records
=
useInfos
.
stream
().
map
(
IdxBizJgUseInfo:
:
getRecord
).
collect
(
Collectors
.
toList
());
if
(
records
.
isEmpty
())
return
Boolean
.
TRUE
;
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"recordList"
,
records
);
map
.
put
(
"equList"
,
PipelineEnum
.
PRESSURE_PIPELINE
.
getCode
());
registerInfoService
.
batchDeleteByRecord
(
map
);
if
(!
records
.
isEmpty
()){
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"recordList"
,
records
);
map
.
put
(
"equList"
,
PipelineEnum
.
PRESSURE_PIPELINE
.
getCode
());
registerInfoService
.
batchDeleteByRecord
(
map
);
}
// 删除装置表信息
this
.
removeById
(
sequenceNbr
);
return
Boolean
.
TRUE
;
...
...
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