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
8cdf0c21
Commit
8cdf0c21
authored
Jul 03, 2025
by
yangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor(amos-boot-module-tcm): 临时修改企业类型证书过滤逻辑
- 注释掉了原有按企业类型获取证书类型列表的代码 - 直接使用固定证书类型列表进行过滤
parent
8d947879
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
TzBaseEnterpriseInfoServiceImpl.java
...tcm/biz/service/impl/TzBaseEnterpriseInfoServiceImpl.java
+5
-3
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 @
8cdf0c21
...
@@ -214,9 +214,11 @@ public class TzBaseEnterpriseInfoServiceImpl
...
@@ -214,9 +214,11 @@ public class TzBaseEnterpriseInfoServiceImpl
List
<
BaseUnitLicenceDto
>
unitLicenceDtos
=
new
ArrayList
<>();
List
<
BaseUnitLicenceDto
>
unitLicenceDtos
=
new
ArrayList
<>();
List
<
BaseUnitLicence
>
unitLicencesCollect
=
Optional
.
ofNullable
(
unitLicences
).
orElse
(
Collections
.
emptyList
());
List
<
BaseUnitLicence
>
unitLicencesCollect
=
Optional
.
ofNullable
(
unitLicences
).
orElse
(
Collections
.
emptyList
());
if
(!
"监管机构"
.
equals
(
companyType
))
{
if
(!
"监管机构"
.
equals
(
companyType
))
{
List
<
String
>
certTypeList
=
Arrays
.
asList
(
Optional
.
ofNullable
(
COMPANY_TYPE_CERT_TYPE_MAP
.
get
(
companyType
))
// List<String> certTypeList = Arrays.asList(Optional.ofNullable(COMPANY_TYPE_CERT_TYPE_MAP.get(companyType))
.
orElse
(
""
)
// .orElse("")
.
split
(
","
));
// .split(","));
// 充装、检验检测、制造、设计、安改维
List
<
String
>
certTypeList
=
Arrays
.
asList
(
"1231"
,
"1233"
,
"1234"
,
"1235"
,
"1236"
);
unitLicencesCollect
=
unitLicencesCollect
.
stream
()
unitLicencesCollect
=
unitLicencesCollect
.
stream
()
.
filter
(
unit
->
unit
.
getCertTypeCode
()
!=
null
&&
certTypeList
.
contains
(
unit
.
getCertTypeCode
()))
.
filter
(
unit
->
unit
.
getCertTypeCode
()
!=
null
&&
certTypeList
.
contains
(
unit
.
getCertTypeCode
()))
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
...
...
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