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
0bac4f33
Commit
0bac4f33
authored
Sep 17, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refeat(jyjc): 报检规则4.0开发
1.报检规则联调自测,固定式压力容器,增加按照是否球罐过滤
parent
03787433
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
EquipChangeDataUpdateServiceImpl.java
.../edit/process/equip/EquipChangeDataUpdateServiceImpl.java
+1
-0
EnableRuleDataPreparationService.java
.../event/rule/service/EnableRuleDataPreparationService.java
+1
-1
JyjcInspectionApplicationServiceImpl.java
...iz/service/impl/JyjcInspectionApplicationServiceImpl.java
+4
-4
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/edit/process/equip/EquipChangeDataUpdateServiceImpl.java
View file @
0bac4f33
...
...
@@ -179,6 +179,7 @@ public class EquipChangeDataUpdateServiceImpl {
esEquipmentCategoryDto
.
setEQU_CATEGORY_CODE
(
registerChangeDataDto
.
getEquCategory
());
esEquipmentCategoryDto
.
setEQU_DEFINE_CODE
(
registerChangeDataDto
.
getEquDefine
());
esEquipmentCategoryDto
.
setUSE_ORG_CODE
(
registerChangeDataDto
.
getUseOrgCode
());
esEquipmentCategoryDto
.
setWhetherSphericalTank
(
registerChangeDataDto
.
getWhetherSphericalTank
());
// 冗余设备类别名称
if
(
StringUtils
.
isEmpty
(
registerChangeDataDto
.
getEquCategory
()))
{
esEquipmentCategoryDto
.
setEQU_CATEGORY
(
null
);
...
...
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 @
0bac4f33
...
...
@@ -149,7 +149,7 @@ public class EnableRuleDataPreparationService {
// 是否球罐 0 1 转 boolean
inspectionEquipInfo
.
setIsBallValve
(!
"0"
.
equals
(
registrationInfo
.
getWhetherSphericalTank
()));
// 标签
inspectionEquipInfo
.
setEquipTag1
(
registrationInfo
.
get
Tag1
());
inspectionEquipInfo
.
setEquipTag1
(
equipInfoModel
.
getEquip
Tag1
());
}
if
(
PRESSURE_EQU_LIST
.
contains
(
equipInfoModel
.
getEquList
()))
{
ReginParams
reginParams
=
JSON
.
parseObject
(
redisUtils
.
get
(
RedisKey
.
buildReginKey
(
equipInfoModel
.
getUserId
(),
equipInfoModel
.
getToken
())).
toString
(),
ReginParams
.
class
);
...
...
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 @
0bac4f33
...
...
@@ -1503,12 +1503,12 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
boolMust
.
must
(
QueryBuilders
.
matchPhraseQuery
(
"USE_INNER_CODE"
,
test
));
}
// 大型游乐设施时按照设备分类过滤
if
(!
ObjectUtils
.
isEmpty
(
map
.
getString
(
"
t
ag1"
))
&&
EquipmentClassifityEnum
.
YLSS
.
getCode
().
equals
(
map
.
getString
(
"EQU_LIST_CODE"
))){
boolMust
.
must
(
QueryBuilders
.
termQuery
(
"tag1.keyword"
,
QueryParser
.
escape
(
map
.
getString
(
"
t
ag1"
))));
if
(!
ObjectUtils
.
isEmpty
(
map
.
getString
(
"
equipT
ag1"
))
&&
EquipmentClassifityEnum
.
YLSS
.
getCode
().
equals
(
map
.
getString
(
"EQU_LIST_CODE"
))){
boolMust
.
must
(
QueryBuilders
.
termQuery
(
"tag1.keyword"
,
QueryParser
.
escape
(
map
.
getString
(
"
equipT
ag1"
))));
}
// 固定式压力容器按照是否球罐过滤
if
(!
ObjectUtils
.
isEmpty
(
map
.
getString
(
"
t
ag1"
))
&&
BizCommonConstant
.
EQU_CATEGORY_CODE_GDYLRQ
.
equals
(
map
.
getString
(
"EQU_CATEGORY_CODE"
))){
boolMust
.
must
(
QueryBuilders
.
termQuery
(
"WHETHER_SPHERICAL_TANK.keyword"
,
QueryParser
.
escape
(
map
.
getString
(
"
t
ag1"
))));
if
(!
ObjectUtils
.
isEmpty
(
map
.
getString
(
"
equipT
ag1"
))
&&
BizCommonConstant
.
EQU_CATEGORY_CODE_GDYLRQ
.
equals
(
map
.
getString
(
"EQU_CATEGORY_CODE"
))){
boolMust
.
must
(
QueryBuilders
.
termQuery
(
"WHETHER_SPHERICAL_TANK.keyword"
,
QueryParser
.
escape
(
map
.
getString
(
"
equipT
ag1"
))));
}
this
.
setFilterOfInFlowing
(
boolMust
,
map
.
getString
(
"EQU_LIST_CODE"
),
map
.
getString
(
"inspectionType"
),
map
.
getString
(
"EQU_CATEGORY_CODE"
));
builder
.
query
(
boolMust
);
...
...
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