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
fb7ed861
Commit
fb7ed861
authored
Mar 04, 2026
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor(jyjc) :报检规则
1.大型游乐设施报检规则调整代码适配
parent
8aa14a56
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
EnableRuleDataPreparationService.java
.../event/rule/service/EnableRuleDataPreparationService.java
+0
-3
JyjcInspectionApplicationServiceImpl.java
...iz/service/impl/JyjcInspectionApplicationServiceImpl.java
+3
-3
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/event/rule/service/EnableRuleDataPreparationService.java
View file @
fb7ed861
...
@@ -167,9 +167,6 @@ public class EnableRuleDataPreparationService {
...
@@ -167,9 +167,6 @@ public class EnableRuleDataPreparationService {
if
(
EquipmentClassifityEnum
.
YLSS
.
getCode
().
equals
(
equipInfoModel
.
getEquList
()))
{
if
(
EquipmentClassifityEnum
.
YLSS
.
getCode
().
equals
(
equipInfoModel
.
getEquList
()))
{
// 设备分类
// 设备分类
inspectionEquipInfo
.
setEquipTag1
(
equipInfoModel
.
getEquipTag1
());
inspectionEquipInfo
.
setEquipTag1
(
equipInfoModel
.
getEquipTag1
());
// 使用单位
String
useUnitCode
=
this
.
getUseInfo
(
equipInfoModel
.
getRecord
());
inspectionEquipInfo
.
setUseUnitCreditCode
(
useUnitCode
);
}
}
// 锅炉设置技术参数
// 锅炉设置技术参数
if
(
EquipmentClassifityEnum
.
GL
.
getCode
().
equals
(
equipInfoModel
.
getEquList
()))
{
if
(
EquipmentClassifityEnum
.
GL
.
getCode
().
equals
(
equipInfoModel
.
getEquList
()))
{
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/service/impl/JyjcInspectionApplicationServiceImpl.java
View file @
fb7ed861
...
@@ -132,7 +132,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -132,7 +132,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
/**
/**
* 机电类设备种类
* 机电类设备种类
*/
*/
private
static
final
String
JD_EQU_LIST_CODES
=
"3000,4000,5000"
;
private
static
final
String
JD_EQU_LIST_CODES
=
"3000,4000,5000
,6000
"
;
@Autowired
@Autowired
TzsServiceFeignClient
tzsServiceFeignClient
;
TzsServiceFeignClient
tzsServiceFeignClient
;
...
@@ -1753,7 +1753,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -1753,7 +1753,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
}
}
// 设备种类
// 设备种类
String
equListCode
=
map
.
getString
(
"EQU_LIST_CODE"
);
String
equListCode
=
map
.
getString
(
"EQU_LIST_CODE"
);
// 机电类才按照属地+区县过滤,其他还是按照
属地
过滤(区县里没特殊的高新、经开、西咸)
// 机电类才按照属地+区县过滤,其他还是按照
使用地点的区县
过滤(区县里没特殊的高新、经开、西咸)
if
(
JD_EQU_LIST_CODES
.
contains
(
equListCode
))
{
if
(
JD_EQU_LIST_CODES
.
contains
(
equListCode
))
{
// 雁塔时去掉高新数据
// 雁塔时去掉高新数据
if
(
String
.
valueOf
(
BizCommonConstant
.
REGION_CODE_YT
).
equals
(
map
.
getString
(
"COUNTY"
)))
{
if
(
String
.
valueOf
(
BizCommonConstant
.
REGION_CODE_YT
).
equals
(
map
.
getString
(
"COUNTY"
)))
{
...
@@ -1765,7 +1765,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -1765,7 +1765,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
boolMust
.
mustNot
(
QueryBuilders
.
wildcardQuery
(
"ORG_BRANCH_CODE.keyword"
,
QueryParser
.
escape
(
SpeRegionInfoEnum
.
XX
.
getOrgCode
())
+
"*"
));
boolMust
.
mustNot
(
QueryBuilders
.
wildcardQuery
(
"ORG_BRANCH_CODE.keyword"
,
QueryParser
.
escape
(
SpeRegionInfoEnum
.
XX
.
getOrgCode
())
+
"*"
));
return
;
return
;
}
}
//
高新、经开、西咸
时按照属地监管部门过滤
//
西安高新、西安经开、西咸(西安或者咸阳的)
时按照属地监管部门过滤
if
(
Arrays
.
stream
(
SpeRegionInfoEnum
.
values
()).
sequential
().
anyMatch
(
r
->
r
.
getCode
().
equals
(
map
.
getIntValue
(
"COUNTY"
))))
{
if
(
Arrays
.
stream
(
SpeRegionInfoEnum
.
values
()).
sequential
().
anyMatch
(
r
->
r
.
getCode
().
equals
(
map
.
getIntValue
(
"COUNTY"
))))
{
boolMust
.
must
(
QueryBuilders
.
wildcardQuery
(
"ORG_BRANCH_CODE.keyword"
,
QueryParser
.
escape
(
Objects
.
requireNonNull
(
SpeRegionInfoEnum
.
getByCode
(
map
.
getInteger
(
"COUNTY"
))).
getOrgCode
())
+
"*"
));
boolMust
.
must
(
QueryBuilders
.
wildcardQuery
(
"ORG_BRANCH_CODE.keyword"
,
QueryParser
.
escape
(
Objects
.
requireNonNull
(
SpeRegionInfoEnum
.
getByCode
(
map
.
getInteger
(
"COUNTY"
))).
getOrgCode
())
+
"*"
));
return
;
return
;
...
...
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