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
0a5c211f
Commit
0a5c211f
authored
Nov 11, 2022
by
zhangyingbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
焊工筛选
parent
fd3fd6b5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
WelderController.java
...amos/boot/module/ugp/biz/controller/WelderController.java
+4
-4
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/controller/WelderController.java
View file @
0a5c211f
...
@@ -141,13 +141,13 @@ public class WelderController extends BaseController {
...
@@ -141,13 +141,13 @@ public class WelderController extends BaseController {
page
.
setSize
(
size
);
page
.
setSize
(
size
);
IPage
companyWelder
=
orgServiceImpl
.
getCompanyWelder
(
page
);
IPage
companyWelder
=
orgServiceImpl
.
getCompanyWelder
(
page
);
List
<
WelderDto
>
welderRecords
=
companyWelder
.
getRecords
();
List
<
Map
>
welderRecords
=
companyWelder
.
getRecords
();
//模糊查询
//模糊查询
if
(
name
!=
null
||
idNumber
!=
null
||
licensedProject
!=
null
){
if
(
name
!=
null
||
idNumber
!=
null
||
licensedProject
!=
null
){
if
(
name
!=
null
)
{
welderRecords
=
welderRecords
.
stream
().
filter
(
n
->
n
.
getName
(
).
indexOf
(
name
)>-
1
).
collect
(
Collectors
.
toList
());}
if
(
name
!=
null
)
{
welderRecords
=
welderRecords
.
stream
().
filter
(
n
->
((
String
)
n
.
get
(
"name"
)
).
indexOf
(
name
)>-
1
).
collect
(
Collectors
.
toList
());}
if
(
idNumber
!=
null
)
{
welderRecords
=
welderRecords
.
stream
().
filter
(
n
->
n
.
getIdNumber
(
).
indexOf
(
idNumber
)>-
1
).
collect
(
Collectors
.
toList
());}
if
(
idNumber
!=
null
)
{
welderRecords
=
welderRecords
.
stream
().
filter
(
n
->
((
String
)
n
.
get
(
"idNumber"
)
).
indexOf
(
idNumber
)>-
1
).
collect
(
Collectors
.
toList
());}
if
(
licensedProject
!=
null
)
{
welderRecords
=
welderRecords
.
stream
().
filter
(
n
->
n
.
getLicensedProject
(
).
indexOf
(
licensedProject
)>-
1
).
collect
(
Collectors
.
toList
());}
if
(
licensedProject
!=
null
)
{
welderRecords
=
welderRecords
.
stream
().
filter
(
n
->
((
String
)
n
.
get
(
"licensedProject"
)
).
indexOf
(
licensedProject
)>-
1
).
collect
(
Collectors
.
toList
());}
}
}
Page
records
=
page
.
setRecords
(
welderRecords
);
Page
records
=
page
.
setRecords
(
welderRecords
);
...
...
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