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
ac9ece01
Commit
ac9ece01
authored
Jun 12, 2025
by
刘林
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_tzs_register' into develop_tzs_register
parents
435f4dea
89cbb19a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
6 deletions
+25
-6
CommonEquipDataProcessService.java
...biz/edit/process/equip/CommonEquipDataProcessService.java
+11
-6
EquipChangeDataUpdateServiceImpl.java
.../edit/process/equip/EquipChangeDataUpdateServiceImpl.java
+13
-0
SingleEquipChangeProcess.java
...e/jg/biz/edit/process/equip/SingleEquipChangeProcess.java
+1
-0
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/edit/process/equip/CommonEquipDataProcessService.java
View file @
ac9ece01
...
...
@@ -1028,10 +1028,10 @@ public class CommonEquipDataProcessService {
equipChangeDataUpdateServiceImpl
.
updateFactoryEsData
(
record
,
equipFactoryChangeDataDto
);
}
// 设计信息
if
(
changeDataDto
instanceof
IdxBizJgDesignInfo
)
{
IdxBizJgDesignInfo
equipDesignChangeDataDto
=
(
IdxBizJgDesignInfo
)
changeDataDto
;
equipChangeDataUpdateServiceImpl
.
checkDesignChangeData
(
record
,
equipDesignChangeDataDto
);
}
//
if (changeDataDto instanceof IdxBizJgDesignInfo) {
//
IdxBizJgDesignInfo equipDesignChangeDataDto = (IdxBizJgDesignInfo) changeDataDto;
//
equipChangeDataUpdateServiceImpl.checkDesignChangeData(record, equipDesignChangeDataDto);
//
}
// 使用信息
if
(
changeDataDto
instanceof
IdxBizJgUseInfo
)
{
IdxBizJgUseInfo
equipUseInfoChangeDataDto
=
(
IdxBizJgUseInfo
)
changeDataDto
;
...
...
@@ -1039,8 +1039,13 @@ public class CommonEquipDataProcessService {
}
// 检验信息
if
(
changeDataDto
instanceof
IdxBizJgInspectionDetectionInfo
)
{
IdxBizJgInspectionDetectionInfo
equipUseInfoChangeDataDto
=
(
IdxBizJgInspectionDetectionInfo
)
changeDataDto
;
equipChangeDataUpdateServiceImpl
.
updateInspectInfoEs
(
record
,
equipUseInfoChangeDataDto
);
IdxBizJgInspectionDetectionInfo
equipInspectionInfoChangeDataDto
=
(
IdxBizJgInspectionDetectionInfo
)
changeDataDto
;
equipChangeDataUpdateServiceImpl
.
updateInspectInfoEs
(
record
,
equipInspectionInfoChangeDataDto
);
}
// 监督管理信息
if
(
changeDataDto
instanceof
IdxBizJgSupervisionInfo
)
{
IdxBizJgSupervisionInfo
equipSupervisionInfoChangeDataDto
=
(
IdxBizJgSupervisionInfo
)
changeDataDto
;
equipChangeDataUpdateServiceImpl
.
updateSupervisionInfoEs
(
record
,
equipSupervisionInfoChangeDataDto
);
}
}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/edit/process/equip/EquipChangeDataUpdateServiceImpl.java
View file @
ac9ece01
...
...
@@ -371,6 +371,19 @@ public class EquipChangeDataUpdateServiceImpl {
}
}
public
void
updateSupervisionInfoEs
(
String
record
,
IdxBizJgSupervisionInfo
equipSupervisionInfoChangeDataDto
)
{
// es 数据更新
Optional
<
ESEquipmentCategoryDto
>
optional
=
esEquipmentCategory
.
findById
(
record
);
if
(
optional
.
isPresent
())
{
ESEquipmentCategoryDto
esEquipmentCategoryDto
=
optional
.
get
();
if
(
equipSupervisionInfoChangeDataDto
.
getOrgBranchCode
()
!=
null
)
{
esEquipmentCategoryDto
.
setORG_BRANCH_CODE
(
equipSupervisionInfoChangeDataDto
.
getOrgBranchCode
());
esEquipmentCategoryDto
.
setORG_BRANCH_NAME
(
equipSupervisionInfoChangeDataDto
.
getOrgBranchName
());
esEquipmentCategory
.
save
(
esEquipmentCategoryDto
);
}
}
}
public
void
updateOtherInfoChangeData
(
String
record
,
EquipOtherInfoChangeDataDto
otherInfoChangeDataDto
)
{
LambdaUpdateWrapper
<
IdxBizJgOtherInfo
>
updateWrapper
=
new
LambdaUpdateWrapper
<>();
updateWrapper
.
eq
(
IdxBizJgOtherInfo:
:
getRecord
,
record
);
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/edit/process/equip/SingleEquipChangeProcess.java
View file @
ac9ece01
...
...
@@ -130,6 +130,7 @@ public class SingleEquipChangeProcess implements IEquipChangeDataProcessStrategy
commonEquipDataProcessService
.
updateEsDataOfEquip
(
record
,
designInfoNew
);
commonEquipDataProcessService
.
updateEsDataOfEquip
(
record
,
otherInfoNew
);
commonEquipDataProcessService
.
updateEsDataOfEquip
(
record
,
factoryInfoNew
);
commonEquipDataProcessService
.
updateEsDataOfEquip
(
record
,
idxBizJgSupervisionInfoNew
);
// 如果是气瓶则按照证更新其他同证下的气瓶字段
this
.
updateOtherEquipInSameCert
(
useInfoNew
,
registerInfoNew
,
registerInfoOld
,
allChangeColumns
);
...
...
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