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
35417484
Commit
35417484
authored
Oct 21, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jyjc): 报检规则4.0开发
1.修正字段maxiLiftingHeight为maxLiftingHeight,兼容maxiLiftingHeight和maxLiftingHeight
parent
356a8052
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
JyjcInspectionResultServiceImpl.java
...yjc/biz/service/impl/JyjcInspectionResultServiceImpl.java
+11
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/service/impl/JyjcInspectionResultServiceImpl.java
View file @
35417484
...
@@ -581,7 +581,7 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
...
@@ -581,7 +581,7 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
private
void
fillResultParamData
(
JyjcInspectionResultDataModel
r
,
JyjcInspectionResult
jyjcInspectionResult
,
List
<
JyjcInspectionResultParam
>
resultParams
)
{
private
void
fillResultParamData
(
JyjcInspectionResultDataModel
r
,
JyjcInspectionResult
jyjcInspectionResult
,
List
<
JyjcInspectionResultParam
>
resultParams
)
{
JyjcInspectionResultParam
resultParam
=
new
JyjcInspectionResultParam
();
JyjcInspectionResultParam
resultParam
=
new
JyjcInspectionResultParam
();
resultParam
.
setResultSeq
(
jyjcInspectionResult
.
getSequenceNbr
());
resultParam
.
setResultSeq
(
jyjcInspectionResult
.
getSequenceNbr
());
resultParam
.
setParamJson
(
JSON
.
toJSONString
(
r
.
getTechParams
(
)));
resultParam
.
setParamJson
(
JSON
.
toJSONString
(
this
.
fixTechParams
(
r
.
getTechParams
()
)));
resultParam
.
setRecUserId
(
RequestContext
.
getExeUserId
());
resultParam
.
setRecUserId
(
RequestContext
.
getExeUserId
());
resultParam
.
setRecDate
(
new
Date
());
resultParam
.
setRecDate
(
new
Date
());
resultParam
.
setRemark
(
"同步数据"
);
resultParam
.
setRemark
(
"同步数据"
);
...
@@ -590,6 +590,16 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
...
@@ -590,6 +590,16 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
resultParams
.
add
(
resultParam
);
resultParams
.
add
(
resultParam
);
}
}
private
JSONObject
fixTechParams
(
JSONObject
techParams
)
{
// 技术参数字段修正
if
(
techParams
!=
null
&&
techParams
.
containsKey
(
"maxiLiftingHeight"
)){
Object
value
=
techParams
.
get
(
"maxiLiftingHeight"
);
techParams
.
put
(
"maxLiftingHeight"
,
value
);
techParams
.
remove
(
"maxiLiftingHeight"
);
}
return
techParams
;
}
private
void
fillResultParamData
(
PipelineInspectionResultDto
r
,
JyjcInspectionResult
jyjcInspectionResult
,
List
<
JyjcInspectionResultParam
>
resultParams
)
{
private
void
fillResultParamData
(
PipelineInspectionResultDto
r
,
JyjcInspectionResult
jyjcInspectionResult
,
List
<
JyjcInspectionResultParam
>
resultParams
)
{
List
<
JyjcInspectionResultParam
>
paramList
=
iJyjcInspectionResultParamService
.
getParamByResultSeq
(
jyjcInspectionResult
.
getSequenceNbr
());
List
<
JyjcInspectionResultParam
>
paramList
=
iJyjcInspectionResultParamService
.
getParamByResultSeq
(
jyjcInspectionResult
.
getSequenceNbr
());
if
(!
paramList
.
isEmpty
())
{
if
(!
paramList
.
isEmpty
())
{
...
...
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