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
b1ba7baf
Commit
b1ba7baf
authored
Jul 04, 2025
by
yangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor(amos-boot-module-tcm): 优化企业信息查询逻辑- 修复了企业类型为"制造"时,许可证信息无法显示的问题
- 优化了证书类型过滤逻辑,确保正确显示相关证书信息
parent
0014ec2c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
TzBaseEnterpriseInfoServiceImpl.java
...tcm/biz/service/impl/TzBaseEnterpriseInfoServiceImpl.java
+7
-5
No files found.
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/java/com/yeejoin/amos/boot/module/tcm/biz/service/impl/TzBaseEnterpriseInfoServiceImpl.java
View file @
b1ba7baf
...
...
@@ -214,13 +214,15 @@ public class TzBaseEnterpriseInfoServiceImpl
List
<
BaseUnitLicenceDto
>
unitLicenceDtos
=
new
ArrayList
<>();
List
<
BaseUnitLicence
>
unitLicencesCollect
=
Optional
.
ofNullable
(
unitLicences
).
orElse
(
Collections
.
emptyList
());
if
(!
"监管机构"
.
equals
(
companyType
))
{
//
List<String> certTypeList = Arrays.asList(Optional.ofNullable(COMPANY_TYPE_CERT_TYPE_MAP.get(companyType))
//
.orElse("")
//
.split(","));
List
<
String
>
certTypeList
=
Arrays
.
asList
(
Optional
.
ofNullable
(
COMPANY_TYPE_CERT_TYPE_MAP
.
get
(
companyType
))
.
orElse
(
""
)
.
split
(
","
));
// 充装、检验检测、制造、设计、安改维
List
<
String
>
certTypeList
=
Arrays
.
asList
(
"1231"
,
"1233"
,
"1234"
,
"1235"
,
"1236"
);
unitLicencesCollect
=
unitLicencesCollect
.
stream
()
.
filter
(
unit
->
unit
.
getCertTypeCode
()
!=
null
&&
certTypeList
.
contains
(
unit
.
getCertTypeCode
()))
.
filter
(
unit
->
unit
.
getCertTypeCode
()
!=
null
&&
(
certTypeList
.
contains
(
unit
.
getCertTypeCode
())
||
"1235"
.
equals
(
unit
.
getCertTypeCode
())
||
"1236"
.
equals
(
unit
.
getCertTypeCode
()))
)
.
collect
(
Collectors
.
toList
());
}
if
(!
ValidationUtil
.
isEmpty
(
unitLicencesCollect
))
{
...
...
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