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
5abb32e9
Commit
5abb32e9
authored
Sep 25, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(jg): es数据同步
1.es新老索引增加字段是否球罐后,数据的同步 2.新增刷设备旧索引球罐接口
parent
3cd28fc4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
ESEquipmentCategoryDto.java
...os/boot/module/common/api/dto/ESEquipmentCategoryDto.java
+1
-1
WeatherTankFieldPatcher.java
...dule/jg/biz/data/fix/service/WeatherTankFieldPatcher.java
+1
-0
JyjcInspectionApplicationServiceImpl.java
...iz/service/impl/JyjcInspectionApplicationServiceImpl.java
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dto/ESEquipmentCategoryDto.java
View file @
5abb32e9
...
...
@@ -217,6 +217,6 @@ public class ESEquipmentCategoryDto {
/**
* 是否球罐
*/
@Field
(
type
=
FieldType
.
Keyword
,
name
=
"WHETHER_SPHERICAL_TANK"
)
@Field
(
type
=
FieldType
.
Keyword
)
private
String
whetherSphericalTank
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/data/fix/service/WeatherTankFieldPatcher.java
View file @
5abb32e9
...
...
@@ -25,6 +25,7 @@ public class WeatherTankFieldPatcher extends BatchDataPatcher {
private
final
ESEquipmentCategory
equipmentCategory
;
protected
WeatherTankFieldPatcher
(
ApplicationContext
applicationContext
,
IdxBizJgRegisterInfoServiceImpl
registerInfoService
,
ESEquipmentCategory
equipmentCategory
)
{
super
(
applicationContext
);
this
.
registerInfoService
=
registerInfoService
;
...
...
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 @
5abb32e9
...
...
@@ -1553,7 +1553,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
}
// 固定式压力容器按照是否球罐过滤
if
(!
ObjectUtils
.
isEmpty
(
map
.
getString
(
"equipTag1"
))
&&
BizCommonConstant
.
EQU_CATEGORY_CODE_GDYLRQ
.
equals
(
map
.
getString
(
"EQU_CATEGORY_CODE"
)))
{
boolMust
.
must
(
QueryBuilders
.
termQuery
(
"
WHETHER_SPHERICAL_TANK
.keyword"
,
QueryParser
.
escape
(
map
.
getString
(
"equipTag1"
))));
boolMust
.
must
(
QueryBuilders
.
termQuery
(
"
whetherSphericalTank
.keyword"
,
QueryParser
.
escape
(
map
.
getString
(
"equipTag1"
))));
}
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