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
9a987ff9
Commit
9a987ff9
authored
Feb 04, 2026
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor(jg): 移除updateEquipEs方法中未使用的map1参数
parent
7d34e32a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
JgInstallationNoticeServiceImpl.java
.../jg/biz/service/impl/JgInstallationNoticeServiceImpl.java
+5
-7
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/JgInstallationNoticeServiceImpl.java
View file @
9a987ff9
...
...
@@ -1465,7 +1465,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
changeRecordEq
.
setProductCode
(
idxBizJgFactoryInfo
.
getFactoryNum
());
certificateChangeRecordEqService
.
save
(
changeRecordEq
);
// 收集需要更新的es
esEquipmentDtos
.
add
(
updateEquipEs
(
jgInstallationNotice
,
tzsJgOtherInfo
,
idxBizJgRegisterInfo
,
idxBizJgSupervisionInfo
,
map1
,
dto
));
esEquipmentDtos
.
add
(
updateEquipEs
(
jgInstallationNotice
,
tzsJgOtherInfo
,
idxBizJgRegisterInfo
,
idxBizJgSupervisionInfo
,
dto
));
});
jgResumeInfoService
.
saveBatchResume
(
jgRelationEquips
.
stream
()
...
...
@@ -1640,12 +1640,10 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
private
ESEquipmentCategoryDto
updateEquipEs
(
JgInstallationNotice
jgInstallationNotice
,
OtherInfo
tzsJgOtherInfo
,
IdxBizJgRegisterInfo
tzsJgRegistrationInfo
,
IdxBizJgSupervisionInfo
idxBizJgSupervisionInfo
,
Map
<
String
,
Object
>
map1
,
JgInstallationNoticeDto
dto
)
{
JgInstallationNoticeDto
dto
)
{
Optional
<
ESEquipmentCategoryDto
>
esEqu
=
esEquipmentCategory
.
findById
(
tzsJgRegistrationInfo
.
getRecord
());
ESEquipmentCategoryDto
esEquipmentCategoryDto
=
new
ESEquipmentCategoryDto
();
esEqu
.
ifPresent
(
esDto
->
{
BeanUtils
.
copyProperties
(
esDto
,
esEquipmentCategoryDto
);
});
esEqu
.
ifPresent
(
esDto
->
BeanUtils
.
copyProperties
(
esDto
,
esEquipmentCategoryDto
));
esEquipmentCategoryDto
.
setSEQUENCE_NBR
(
tzsJgRegistrationInfo
.
getRecord
());
esEquipmentCategoryDto
.
setREC_DATE
(
new
Date
().
getTime
());
esEquipmentCategoryDto
.
setEQU_CODE
(
tzsJgRegistrationInfo
.
getEquCode
());
...
...
@@ -2327,7 +2325,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
updateJgUseInfo
(
jgInstallationNotice
,
installationNoticeEq
);
// 更新es
esEquipmentDtos
.
add
(
updateEquipEs
(
jgInstallationNotice
,
tzsJgOtherInfo
,
idxBizJgRegisterInfo
,
idxBizJgSupervisionInfo
,
new
HashMap
<>(),
dto
));
esEquipmentDtos
.
add
(
updateEquipEs
(
jgInstallationNotice
,
tzsJgOtherInfo
,
idxBizJgRegisterInfo
,
idxBizJgSupervisionInfo
,
dto
));
});
// 记录工程装置施工信息表
...
...
@@ -2519,7 +2517,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
changeRecordEq
.
setProductCode
(
idxBizJgFactoryInfo
.
getFactoryNum
());
certificateChangeRecordEqService
.
save
(
changeRecordEq
);
// 更新es
esEquipmentDtos
.
add
(
updateEquipEs
(
jgInstallationNotice
,
tzsJgOtherInfo
,
idxBizJgRegisterInfo
,
idxBizJgSupervisionInfo
,
map1
,
dto
));
esEquipmentDtos
.
add
(
updateEquipEs
(
jgInstallationNotice
,
tzsJgOtherInfo
,
idxBizJgRegisterInfo
,
idxBizJgSupervisionInfo
,
dto
));
});
jgResumeInfoService
.
saveBatchResume
(
jgRelationEquips
.
stream
()
...
...
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