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
0eca30c4
Commit
0eca30c4
authored
Dec 04, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_tzs_register' into develop_tzs_feat/xzspj
parents
c0be2fa0
99e0c993
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
JgOverDesignServiceLifeServiceImpl.java
.../biz/service/impl/JgOverDesignServiceLifeServiceImpl.java
+5
-2
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/JgOverDesignServiceLifeServiceImpl.java
View file @
0eca30c4
...
...
@@ -272,7 +272,6 @@ public class JgOverDesignServiceLifeServiceImpl extends BaseService<JgOverDesign
equip
.
setSafetyAssessmentCreditCode
(
Objects
.
toString
(
device
.
get
(
"safetyAssessmentCreditCode"
),
""
));
equip
.
setSafetyAssessmentResult
(
Objects
.
toString
(
device
.
get
(
"safetyAssessmentResult"
),
""
));
equip
.
setSafetyAssessmentDate
(
castDate2TimeStr
(
Objects
.
toString
(
device
.
get
(
"safetyAssessmentDate"
),
null
)));
equip
.
setSafetyAssessmentName
(
Objects
.
toString
(
device
.
get
(
"equListCode"
),
""
));
if
(!
ObjectUtils
.
isEmpty
(
device
.
get
(
"safetyAssessmentReport"
)))
{
equip
.
setSafetyAssessmentReport
(
JSONObject
.
toJSONString
(
device
.
get
(
"safetyAssessmentReport"
)));
}
...
...
@@ -667,6 +666,10 @@ public class JgOverDesignServiceLifeServiceImpl extends BaseService<JgOverDesign
equipment
.
remove
(
"recDate"
);
InspectionDetectionInfo
inspectionDetectionInfo
=
new
InspectionDetectionInfo
();
BeanUtil
.
copyProperties
(
equipment
,
inspectionDetectionInfo
);
if
(!
ObjectUtils
.
isEmpty
(
equipment
.
get
(
"inspectReport"
)))
{
inspectionDetectionInfo
.
setInspectReport
(
JSONObject
.
toJSONString
(
equipment
.
get
(
"inspectReport"
)));
}
inspectionDetectionInfo
.
setInspectConclusion
(
Objects
.
toString
(
equipment
.
get
(
"inspectConclusionCode"
),
""
));
// 处理jySeq更新逻辑
String
jySeq
=
Objects
.
toString
(
equipment
.
get
(
"jySeq"
),
""
);
if
(!
jySeq
.
isEmpty
())
{
...
...
@@ -1052,7 +1055,6 @@ public class JgOverDesignServiceLifeServiceImpl extends BaseService<JgOverDesign
.
findFirst
()
.
map
(
info
->
{
Map
<
String
,
Object
>
result
=
new
HashMap
<>(
Bean
.
BeantoMap
(
info
));
result
.
put
(
"inspectReport"
,
JSON
.
parseArray
(
info
.
getInspectReport
()));
result
.
put
(
"inspectConclusionCode"
,
info
.
getInspectConclusion
());
result
.
put
(
"inspectConclusion"
,
Optional
.
ofNullable
(
dataDictionaryServiceImpl
.
getByCode
(
info
.
getInspectConclusion
(),
"JYJL"
))
...
...
@@ -1067,6 +1069,7 @@ public class JgOverDesignServiceLifeServiceImpl extends BaseService<JgOverDesign
result
.
put
(
"safetyAssessmentDate"
,
overDesignServiceLifeEq
.
getSafetyAssessmentDate
());
}
commonService
.
convertStringToJsonobject
(
result
,
new
String
[]{
"safetyAssessmentReport"
});
commonService
.
convertStringToJsonobject
(
result
,
new
String
[]{
"inspectReport"
});
return
result
;
})
.
orElse
(
Collections
.
emptyMap
());
...
...
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