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
9eefcdb4
Commit
9eefcdb4
authored
Oct 28, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reafact(jyjc): 西安电梯筛选
1.西安电梯不让报检
parent
d1e7f194
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
BizCommonConstant.java
...n/amos/boot/module/jyjc/api/common/BizCommonConstant.java
+5
-0
JyjcInspectionApplicationServiceImpl.java
...iz/service/impl/JyjcInspectionApplicationServiceImpl.java
+13
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/java/com/yeejoin/amos/boot/module/jyjc/api/common/BizCommonConstant.java
View file @
9eefcdb4
...
@@ -127,4 +127,9 @@ public interface BizCommonConstant {
...
@@ -127,4 +127,9 @@ public interface BizCommonConstant {
* 业务类型-检测
* 业务类型-检测
*/
*/
String
BIZ_TYPE_JC
=
"jc"
;
String
BIZ_TYPE_JC
=
"jc"
;
/**
* 西安
*/
String
XA_ORG_CODE
=
"50*52"
;
}
}
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 @
9eefcdb4
...
@@ -1585,6 +1585,8 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -1585,6 +1585,8 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
// 设备种类编码
// 设备种类编码
if
(!
ObjectUtils
.
isEmpty
(
map
.
getString
(
"EQU_LIST_CODE"
)))
{
if
(!
ObjectUtils
.
isEmpty
(
map
.
getString
(
"EQU_LIST_CODE"
)))
{
boolMust
.
must
(
QueryBuilders
.
termQuery
(
"EQU_LIST_CODE"
,
QueryParser
.
escape
(
map
.
getString
(
"EQU_LIST_CODE"
))));
boolMust
.
must
(
QueryBuilders
.
termQuery
(
"EQU_LIST_CODE"
,
QueryParser
.
escape
(
map
.
getString
(
"EQU_LIST_CODE"
))));
// todo 西安电梯时不让报检。数据去掉
this
.
disableXADT
(
map
.
getString
(
"EQU_LIST_CODE"
),
boolMust
);
}
}
// 设备类别
// 设备类别
if
(!
ObjectUtils
.
isEmpty
(
map
.
getString
(
"EQU_CATEGORY_CODE"
)))
{
if
(!
ObjectUtils
.
isEmpty
(
map
.
getString
(
"EQU_CATEGORY_CODE"
)))
{
...
@@ -1667,6 +1669,17 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -1667,6 +1669,17 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
return
result
;
return
result
;
}
}
/**
* 西安电梯时不让做报检
* @param equListCode 设备种类
* @param boolMust 匹配条件
*/
private
void
disableXADT
(
String
equListCode
,
BoolQueryBuilder
boolMust
)
{
if
(
EquipmentClassifityEnum
.
DT
.
getCode
().
equals
(
equListCode
)){
boolMust
.
mustNot
(
QueryBuilders
.
wildcardQuery
(
"ORG_BRANCH_CODE.keyword"
,
QueryParser
.
escape
(
BizCommonConstant
.
XA_ORG_CODE
)
+
"*"
));
}
}
private
void
setSpecificallyFilter
(
BoolQueryBuilder
boolMust
,
JSONObject
map
)
{
private
void
setSpecificallyFilter
(
BoolQueryBuilder
boolMust
,
JSONObject
map
)
{
if
(
ObjectUtils
.
isEmpty
(
map
.
getString
(
"COUNTY"
)))
{
if
(
ObjectUtils
.
isEmpty
(
map
.
getString
(
"COUNTY"
)))
{
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