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
de607a20
Commit
de607a20
authored
Jul 02, 2025
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):区外移装后不能办理业务限制
parent
37990dbb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
JgUseRegistrationManageServiceImpl.java
.../biz/service/impl/JgUseRegistrationManageServiceImpl.java
+5
-1
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/service/impl/JgUseRegistrationManageServiceImpl.java
View file @
de607a20
...
...
@@ -565,7 +565,11 @@ public class JgUseRegistrationManageServiceImpl extends BaseService<JgUseRegistr
BoolQueryBuilder
elcBuilder
=
QueryBuilders
.
boolQuery
();
if
(
EquimentEnum
.
BAOFEI
.
getCode
().
equals
(
Integer
.
valueOf
(
enableType
)))
{
// 报废业务选择未报废的设备
elcBuilder
.
mustNot
(
QueryBuilders
.
matchPhraseQuery
(
"EQU_STATE"
,
QueryParser
.
escape
(
enableType
)));
}
else
{
}
else
if
(
EquimentEnum
.
TINGYONG
.
getCode
().
equals
(
Integer
.
valueOf
(
enableType
))){
elcBuilder
.
must
(
QueryBuilders
.
termsQuery
(
"EQU_STATE"
,
"2"
,
"4"
));
}
else
if
(
EquimentEnum
.
ZAIYONG
.
getCode
().
equals
(
Integer
.
valueOf
(
enableType
))){
elcBuilder
.
must
(
QueryBuilders
.
termsQuery
(
"EQU_STATE"
,
"1"
,
"4"
));
}
else
{
elcBuilder
.
must
(
QueryBuilders
.
matchPhraseQuery
(
"EQU_STATE"
,
QueryParser
.
escape
(
enableType
)));
}
boolQuery
.
must
(
elcBuilder
);
...
...
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