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
1bf97fbd
Commit
1bf97fbd
authored
Jun 10, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(大编辑):管道增减功能开发
1.改造变更登记作废、使用登记作废联调调整
parent
540f779e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
EquipBackupHandler.java
...os/boot/module/jg/biz/edit/backup/EquipBackupHandler.java
+2
-2
PieLineDataChangeServiceImpl.java
.../biz/edit/process/equip/PieLineDataChangeServiceImpl.java
+1
-4
JgReformNoticeServiceImpl.java
...module/jg/biz/service/impl/JgReformNoticeServiceImpl.java
+3
-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/backup/EquipBackupHandler.java
View file @
1bf97fbd
...
...
@@ -146,8 +146,8 @@ public class EquipBackupHandler {
}
// 技术参数
techParamsBackupService
.
save
(
registerInfo
.
getEquList
(),
eq
.
getString
(
BACKUP_JSON_KEY_TECH_PARAM_INFO
));
// 设备es数据
equipmentCategory
.
save
(
JSONObject
.
parseObject
(
eq
.
getString
(
BACKUP_JSON_KEY_INSPECTION_ES_INFO
),
ESEquipmentCategoryDto
.
class
));
// 设备es数据
-兼容有数据没es的脏数据
Optional
.
ofNullable
(
eq
.
getString
(
BACKUP_JSON_KEY_INSPECTION_ES_INFO
)).
ifPresent
(
v
->
equipmentCategory
.
save
(
JSONObject
.
parseObject
(
v
,
ESEquipmentCategoryDto
.
class
)
));
});
});
// insert的删除
...
...
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/PieLineDataChangeServiceImpl.java
View file @
1bf97fbd
...
...
@@ -151,10 +151,6 @@ public class PieLineDataChangeServiceImpl {
// 检验信息
IdxBizJgInspectionDetectionInfo
inspectionDetectionInfo
=
BeanUtil
.
copyProperties
(
newPieLine
,
IdxBizJgInspectionDetectionInfo
.
class
);
if
(!
ValidationUtil
.
isEmpty
(
inspectionDetectionInfo
))
{
List
<
Map
<
String
,
Object
>>
inspectionAndTestingInstitutions
=
commonEquipDataProcessService
.
getCommonService
().
getUnitListByType
(
"inspection"
,
"gasCylindersForCars"
,
false
);
Optional
<
Map
<
String
,
Object
>>
optional
=
inspectionAndTestingInstitutions
.
stream
().
filter
(
x
->
x
.
get
(
"useCode"
).
equals
(
inspectionDetectionInfo
.
getInspectOrgCode
())).
findFirst
();
Map
<
String
,
Object
>
mapOrDefault
=
optional
.
orElse
(
Collections
.
emptyMap
());
inspectionDetectionInfo
.
setInspectOrgName
((
String
)
mapOrDefault
.
getOrDefault
(
"useUnit"
,
inspectionDetectionInfo
.
getInspectOrgName
()));
inspectionDetectionInfo
.
setRecord
(
record
);
inspectionDetectionInfo
.
setRecDate
(
new
Date
());
inspectionDetectionInfo
.
setSequenceNbr
(
null
);
...
...
@@ -162,6 +158,7 @@ public class PieLineDataChangeServiceImpl {
inspectionDetectionInfo
.
setNextInspectDate
(
DateUtil
.
parse
(
DateUtil
.
format
(
inspectionDetectionInfo
.
getNextInspectDate
(),
DatePattern
.
NORM_DATE_PATTERN
)));
}
commonEquipDataProcessService
.
getJgUseRegistrationService
().
getInspectionDetectionInfoService
().
getBaseMapper
().
insert
(
inspectionDetectionInfo
);
newPieLine
.
setJySeq
(
inspectionDetectionInfo
.
getSequenceNbr
());
}
// 使用信息
...
...
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/JgReformNoticeServiceImpl.java
View file @
1bf97fbd
...
...
@@ -1158,6 +1158,9 @@ public class JgReformNoticeServiceImpl extends BaseService<JgReformNoticeDto, Jg
IdxBizJgRegisterInfo
registerInfo
=
JSON
.
parseObject
(
toJSONString
(
pipData
),
IdxBizJgRegisterInfo
.
class
);
registerInfo
.
setRecord
(
record
);
registerInfo
.
setRecDate
(
date
);
registerInfo
.
setEquList
(
projectContraption
.
getEquList
());
registerInfo
.
setEquCategory
(
projectContraption
.
getEquCategory
());
registerInfo
.
setEquDefine
(
projectContraption
.
getEquDefine
());
registerInfo
.
setSequenceNbr
(
null
);
registerInfo
.
setEquCodeType
(
"2"
);
registerInfo
.
setRegisterState
(
"6045"
);
...
...
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