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
4f3c4251
Commit
4f3c4251
authored
Jun 28, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.规则3.0自测bug修改
parent
b3018b2f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
RuleActionHandler.java
...n/amos/boot/module/jyjc/biz/action/RuleActionHandler.java
+4
-2
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/action/RuleActionHandler.java
View file @
4f3c4251
...
...
@@ -53,8 +53,7 @@ public class RuleActionHandler {
public
RuleActionHandler
(
EmqKeeper
emqKeeper
,
TzBaseUnitLicenceMapper
baseUnitLicenceMapper
,
TzBaseEnterpriseInfoMapper
tzBaseEnterpriseInfoMapper
,
RuleCommonServiceImpl
ruleCommonService
,
RedissonClient
redissonClient
,
RedisUtils
redisUtils
)
{
TzBaseEnterpriseInfoMapper
tzBaseEnterpriseInfoMapper
,
RedissonClient
redissonClient
,
RedisUtils
redisUtils
)
{
this
.
emqKeeper
=
emqKeeper
;
this
.
baseUnitLicenceMapper
=
baseUnitLicenceMapper
;
this
.
tzBaseEnterpriseInfoMapper
=
tzBaseEnterpriseInfoMapper
;
...
...
@@ -170,7 +169,10 @@ public class RuleActionHandler {
// 第三方时需要去掉法定机构
if
(
inspectionCompanyType
.
equals
(
InspectionCompanyType
.
THIRD
.
getCode
()))
{
log
.
info
(
"第三方检验机构开始匹配"
);
//目前规则配置的法定名单为陕西省内地市的法定机构
matchEnterpriseInfos
=
matchEnterpriseInfos
.
stream
().
filter
(
e
->
!
legalInspectionCodes
.
contains
(
e
.
getUseCode
())).
collect
(
Collectors
.
toList
());
// 还需要去掉定向的机构:陕西省、国机特种设备检验有限公司、中国特种设备检验检测研究院
matchEnterpriseInfos
=
matchEnterpriseInfos
.
stream
().
filter
(
c
->
!
specialInspectionCompanyCode
.
contains
(
c
.
getUseCode
())).
collect
(
Collectors
.
toList
());
log
.
info
(
"匹配到的第三方检验机构:{}"
,
matchEnterpriseInfos
);
}
// 法定时,机构为定义的法定机构 defaultInspectionCode
...
...
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