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
31ee2ca6
Commit
31ee2ca6
authored
Feb 03, 2026
by
suhuiguang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_tzs_main' of
http://39.100.92.250:5000/moa/amos-boot-biz…
Merge branch 'develop_tzs_main' of
http://39.100.92.250:5000/moa/amos-boot-biz
into develop_tzs_main
parents
ae80aae0
6d886fd1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
JgOverDesignServiceLifeServiceImpl.java
.../biz/service/impl/JgOverDesignServiceLifeServiceImpl.java
+13
-9
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 @
31ee2ca6
...
...
@@ -14,7 +14,6 @@ import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.biz.common.bo.CompanyBo
;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
com.yeejoin.amos.boot.biz.common.entity.DataDictionary
;
import
com.yeejoin.amos.boot.biz.common.entity.TzsBaseEntity
;
import
com.yeejoin.amos.boot.biz.common.service.impl.DataDictionaryServiceImpl
;
...
...
@@ -941,20 +940,25 @@ public class JgOverDesignServiceLifeServiceImpl extends BaseService<JgOverDesign
jsonObject
.
remove
(
"equipmentLists"
);
resultDataMap
.
put
(
"equipmentLists"
,
result
);
}
List
<
String
>
useOrgCodes
=
equipmentLists
.
stream
()
String
useOrgCode
=
equipmentLists
.
stream
()
.
map
(
obj
->
((
JSONObject
)
obj
).
getString
(
"useOrgCode"
))
.
collect
(
Collectors
.
toList
());
List
<
JgUseRegistrationManage
>
registrationList
=
useRegistrationManageService
.
lambdaQuery
()
.
in
(
JgUseRegistrationManage:
:
getUseRegistrationCode
,
useOrgCodes
)
.
filter
(
org
.
apache
.
commons
.
lang3
.
StringUtils
::
isNotEmpty
)
.
map
(
String:
:
trim
)
.
findFirst
()
.
orElse
(
null
);
JgUseRegistrationManage
registration
=
useRegistrationManageService
.
lambdaQuery
()
.
eq
(
JgUseRegistrationManage:
:
getUseRegistrationCode
,
useOrgCode
)
.
eq
(
JgUseRegistrationManage:
:
getIsDelete
,
0
)
.
eq
(
JgUseRegistrationManage:
:
getCertificateStatus
,
CertificateStatusEnum
.
YIDENGJI
.
getName
())
.
list
();
.
one
();
if
(
registration
==
null
)
{
throw
new
BadRequest
(
"未查询到使用登记信息"
);
}
String
companyAndOrg
=
overDesignServiceLife
.
getReceiveCompanyCode
()
+
"_"
+
overDesignServiceLife
.
getReceiveOrgName
();
resultDataMap
.
put
(
"receiveCompanyCode"
,
companyAndOrg
);
resultDataMap
.
put
(
"receiveOrgCode"
,
companyAndOrg
);
resultDataMap
.
put
(
"sequenceNbrs"
,
registrationList
.
stream
()
.
map
(
BaseEntity:
:
getSequenceNbr
)
.
collect
(
Collectors
.
toList
()));
resultDataMap
.
put
(
"sequenceNbrs"
,
registration
.
getSequenceNbr
());
commonService
.
convertStringToJsonobject
(
resultDataMap
,
new
String
[]{
"otherAccessories"
});
commonService
.
convertStringToJsonobject
(
resultDataMap
,
new
String
[]{
"useRegistrationFormFile"
});
commonService
.
convertStringToJsonobject
(
resultDataMap
,
new
String
[]{
"safetyAssessmentReport"
});
...
...
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