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
7ca41132
Commit
7ca41132
authored
Dec 09, 2025
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):设计年限bug修改
parent
83a81f40
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
CommonServiceImpl.java
...os/boot/module/jg/biz/service/impl/CommonServiceImpl.java
+1
-6
JgOverDesignServiceLifeServiceImpl.java
.../biz/service/impl/JgOverDesignServiceLifeServiceImpl.java
+1
-1
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/CommonServiceImpl.java
View file @
7ca41132
...
...
@@ -2739,12 +2739,7 @@ public class CommonServiceImpl implements ICommonService {
formData
.
put
(
"equCode"
,
v
.
get
(
"equCode"
));
formData
.
put
(
"useRegistrationCode"
,
v
.
get
(
"useOrgCode"
));
formData
.
put
(
"produceUnitName"
,
v
.
get
(
"produceUnitName"
));
Optional
.
ofNullable
(
v
.
get
(
"produceDate"
))
.
map
(
Object:
:
toString
)
.
map
(
String:
:
trim
)
.
filter
(
s
->
!
s
.
isEmpty
())
.
map
(
s
->
LocalDateTime
.
parse
(
s
,
inputFormatter
).
format
(
outputFormatter
))
.
ifPresent
(
s
->
formData
.
put
(
"produceDate"
,
s
));
formData
.
put
(
"produceDate"
,
v
.
get
(
"produceDate"
));
formData
.
put
(
"factoryNum"
,
v
.
get
(
"factoryNum"
));
formData
.
put
(
"productName"
,
v
.
get
(
"productName"
));
formData
.
put
(
"useUnitName"
,
v
.
get
(
"useUnitName"
));
...
...
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 @
7ca41132
...
...
@@ -192,7 +192,7 @@ public class JgOverDesignServiceLifeServiceImpl extends BaseService<JgOverDesign
.
map
(
v
->
(
String
)
v
.
get
(
"record"
))
.
collect
(
Collectors
.
toList
())
);
if
(
designInfoList
.
stream
().
anyMatch
(
info
->
info
.
getOverDesignRegNum
(
)
>=
2
))
{
if
(
designInfoList
.
stream
().
anyMatch
(
info
->
Optional
.
ofNullable
(
info
.
getOverDesignRegNum
()).
orElse
(
0
)
>=
2
))
{
log
.
error
(
"超设计使用年限变更登记设备最多延期两次, 设备record: {}"
,
designInfoList
.
stream
().
filter
(
info
->
info
.
getOverDesignRegNum
()
>=
2
)
.
map
(
IdxBizJgDesignInfo:
:
getRecord
).
collect
(
Collectors
.
joining
(
","
)));
throw
new
BadRequest
(
"超设计使用年限变更登记设备最多延期两次!"
);
...
...
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