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
457cb9ff
Commit
457cb9ff
authored
May 21, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor(大编辑):代码重构
1.使用登记证编辑时,进行检验重复,台套类为所有证下不能重复,气瓶类为与其他使用单位证不能重复 2.使用信息表及设备的es都进行使用登记证的更新
parent
36102fc5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
EquipChangeDataUpdateServiceImpl.java
.../edit/process/equip/EquipChangeDataUpdateServiceImpl.java
+1
-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/EquipChangeDataUpdateServiceImpl.java
View file @
457cb9ff
...
@@ -174,6 +174,7 @@ public class EquipChangeDataUpdateServiceImpl {
...
@@ -174,6 +174,7 @@ public class EquipChangeDataUpdateServiceImpl {
esEquipmentCategoryDto
.
setEQU_TYPE
(
registerChangeDataDto
.
getEquType
());
esEquipmentCategoryDto
.
setEQU_TYPE
(
registerChangeDataDto
.
getEquType
());
esEquipmentCategoryDto
.
setEQU_CATEGORY_CODE
(
registerChangeDataDto
.
getEquCategory
());
esEquipmentCategoryDto
.
setEQU_CATEGORY_CODE
(
registerChangeDataDto
.
getEquCategory
());
esEquipmentCategoryDto
.
setEQU_DEFINE_CODE
(
registerChangeDataDto
.
getEquDefine
());
esEquipmentCategoryDto
.
setEQU_DEFINE_CODE
(
registerChangeDataDto
.
getEquDefine
());
esEquipmentCategoryDto
.
setUSE_ORG_CODE
(
registerChangeDataDto
.
getUseOrgCode
());
// 冗余设备类别名称
// 冗余设备类别名称
if
(
StringUtils
.
isEmpty
(
registerChangeDataDto
.
getEquCategory
()))
{
if
(
StringUtils
.
isEmpty
(
registerChangeDataDto
.
getEquCategory
()))
{
esEquipmentCategoryDto
.
setEQU_CATEGORY
(
null
);
esEquipmentCategoryDto
.
setEQU_CATEGORY
(
null
);
...
...
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 @
457cb9ff
...
@@ -119,6 +119,7 @@ public class SingleEquipChangeProcess implements IEquipChangeDataProcessStrategy
...
@@ -119,6 +119,7 @@ public class SingleEquipChangeProcess implements IEquipChangeDataProcessStrategy
List
<
FieldChangeMeta
>
idxBizJgSupervisionInfoFieldChangeMetas
=
commonEquipDataProcessService
.
simpleTrackAndUpdate
(
commonEquipDataProcessService
.
getJgUseRegistrationService
().
getIdxBizJgSupervisionInfoMapper
(),
idxBizJgSupervisionInfoOld
,
idxBizJgSupervisionInfoNew
,
useInfoNew
.
getRecord
(),
"record"
,
useInfoNew
.
getRecord
());
List
<
FieldChangeMeta
>
idxBizJgSupervisionInfoFieldChangeMetas
=
commonEquipDataProcessService
.
simpleTrackAndUpdate
(
commonEquipDataProcessService
.
getJgUseRegistrationService
().
getIdxBizJgSupervisionInfoMapper
(),
idxBizJgSupervisionInfoOld
,
idxBizJgSupervisionInfoNew
,
useInfoNew
.
getRecord
(),
"record"
,
useInfoNew
.
getRecord
());
allChangeColumns
.
addAll
(
idxBizJgSupervisionInfoFieldChangeMetas
);
allChangeColumns
.
addAll
(
idxBizJgSupervisionInfoFieldChangeMetas
);
commonEquipDataProcessService
.
updateEsDataOfEquip
(
record
,
registerInfoNew
);
commonEquipDataProcessService
.
updateEsDataOfEquip
(
record
,
useInfoNew
);
commonEquipDataProcessService
.
updateEsDataOfEquip
(
record
,
useInfoNew
);
commonEquipDataProcessService
.
updateEsDataOfEquip
(
record
,
designInfoNew
);
commonEquipDataProcessService
.
updateEsDataOfEquip
(
record
,
designInfoNew
);
commonEquipDataProcessService
.
updateEsDataOfEquip
(
record
,
otherInfoNew
);
commonEquipDataProcessService
.
updateEsDataOfEquip
(
record
,
otherInfoNew
);
...
...
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