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
4df75923
Commit
4df75923
authored
Jun 25, 2025
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
使用单位检验结果录入bugfix
parent
1b8c79da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
JyjcInspectionResultServiceImpl.java
...yjc/biz/service/impl/JyjcInspectionResultServiceImpl.java
+5
-4
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 @
4df75923
...
...
@@ -758,7 +758,7 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
.
setInspectionConclusion
(
Objects
.
toString
(
entryData
.
getOrDefault
(
"inspectConclusion"
,
""
)))
.
setInspectionDate
(
sdf
.
parse
(
entryData
.
get
(
"inspectDate"
).
toString
()))
.
setNextInspectionDate
(
sdf
.
parse
(
entryData
.
get
(
"nextInspectionDate"
).
toString
()))
.
setApplicationDate
(
sdf
.
parse
(
entryData
.
get
(
"applicationDate"
).
toString
(
)))
.
setApplicationDate
(
ObjectUtils
.
isEmpty
(
entryData
.
get
(
"applicationDate"
))
?
null
:
sdf
.
parse
(
Objects
.
toString
(
entryData
.
get
(
"applicationDate"
)
)))
.
setInspectionStartDate
(
null
)
.
setInspectionEndDate
(
null
)
.
setInspectionResultSummary
(
null
)
...
...
@@ -789,7 +789,7 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
// 保存到设备的检验信息表
IdxBizJgInspectionDetectionInfo
inspectionDetectionInfo
=
new
IdxBizJgInspectionDetectionInfo
();
inspectionDetectionInfo
.
setInspectConclusion
(
Objects
.
toString
(
entryData
.
getOrDefault
(
"inspectConclusion"
,
""
)));
inspectionDetectionInfo
.
setInspectDate
(
sdf
.
parse
(
entryData
.
get
(
"applicationDate"
).
toString
(
)));
inspectionDetectionInfo
.
setInspectDate
(
ObjectUtils
.
isEmpty
(
entryData
.
get
(
"applicationDate"
))
?
null
:
sdf
.
parse
(
Objects
.
toString
(
entryData
.
get
(
"applicationDate"
)
)));
inspectionDetectionInfo
.
setInspectReport
(
ObjectUtils
.
isEmpty
(
entryData
.
get
(
"JYJC_TZSBJYBG"
))
?
null
:
JSON
.
toJSONString
(
entryData
.
get
(
"JYJC_TZSBJYBG"
)));
inspectionDetectionInfo
.
setInspectOrgCode
(
Objects
.
toString
(
entryData
.
getOrDefault
(
"inspectOrgCode"
,
""
)));
inspectionDetectionInfo
.
setInspectOrgName
(
Objects
.
toString
(
entryData
.
getOrDefault
(
"inspectOrgName"
,
""
)));
...
...
@@ -811,6 +811,7 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
inspectionHistory
.
setRecDate
(
new
Date
());
jyjcInspectionHistoryService
.
save
(
inspectionHistory
);
}
catch
(
Exception
e
)
{
log
.
warn
(
e
.
getMessage
());
throw
new
BadRequest
(
"数据异常,请联系管理员!"
);
}
}
...
...
@@ -881,7 +882,7 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
.
setInspectionConclusion
(
Objects
.
toString
(
entryData
.
getOrDefault
(
"inspectConclusion"
,
""
)))
.
setInspectionDate
(
sdf
.
parse
(
entryData
.
get
(
"inspectDate"
).
toString
()))
.
setNextInspectionDate
(
sdf
.
parse
(
entryData
.
get
(
"nextInspectionDate"
).
toString
()))
.
setApplicationDate
(
sdf
.
parse
(
entryData
.
get
(
"applicationDate"
).
toString
(
)))
.
setApplicationDate
(
ObjectUtils
.
isEmpty
(
entryData
.
get
(
"applicationDate"
))
?
null
:
sdf
.
parse
(
Objects
.
toString
(
entryData
.
get
(
"applicationDate"
)
)))
.
setInspectionStartDate
(
null
)
.
setInspectionEndDate
(
null
)
.
setInspectionResultSummary
(
null
)
...
...
@@ -912,7 +913,7 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
// 保存到设备的检验信息表
IdxBizJgInspectionDetectionInfo
inspectionDetectionInfo
=
new
IdxBizJgInspectionDetectionInfo
();
inspectionDetectionInfo
.
setInspectConclusion
(
Objects
.
toString
(
entryData
.
getOrDefault
(
"inspectConclusion"
,
""
)));
inspectionDetectionInfo
.
setInspectDate
(
sdf
.
parse
(
entryData
.
get
(
"applicationDate"
).
toString
(
)));
inspectionDetectionInfo
.
setInspectDate
(
ObjectUtils
.
isEmpty
(
entryData
.
get
(
"applicationDate"
))
?
null
:
sdf
.
parse
(
Objects
.
toString
(
entryData
.
get
(
"applicationDate"
)
)));
inspectionDetectionInfo
.
setInspectReport
(
ObjectUtils
.
isEmpty
(
entryData
.
get
(
"JYJC_TZSBJYBG"
))
?
null
:
JSON
.
toJSONString
(
entryData
.
get
(
"JYJC_TZSBJYBG"
)));
inspectionDetectionInfo
.
setInspectOrgCode
(
Objects
.
toString
(
entryData
.
getOrDefault
(
"inspectOrgCode"
,
""
)));
inspectionDetectionInfo
.
setInspectOrgName
(
Objects
.
toString
(
entryData
.
getOrDefault
(
"inspectOrgName"
,
""
)));
...
...
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