Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-office-web-sit
Overview
Overview
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
吴迪
gs1-office-web-sit
Commits
f0150759
Commit
f0150759
authored
Dec 14, 2021
by
吴迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【新增】
parent
8b4fbdc8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
CasesServiceImpl.java
.../office/modules/manage/service/impl/CasesServiceImpl.java
+3
-0
PartnersServiceImpl.java
...fice/modules/manage/service/impl/PartnersServiceImpl.java
+7
-0
No files found.
src/main/java/io/office/modules/manage/service/impl/CasesServiceImpl.java
View file @
f0150759
...
@@ -46,6 +46,9 @@ public class CasesServiceImpl extends ServiceImpl<CasesDao, CasesEntity> impleme
...
@@ -46,6 +46,9 @@ public class CasesServiceImpl extends ServiceImpl<CasesDao, CasesEntity> impleme
if
(
params
.
get
(
"title"
)
!=
null
&&
StringUtils
.
isNotBlank
(
params
.
get
(
"title"
).
toString
()))
{
if
(
params
.
get
(
"title"
)
!=
null
&&
StringUtils
.
isNotBlank
(
params
.
get
(
"title"
).
toString
()))
{
queryWrapper
.
like
(
"title"
,
params
.
get
(
"title"
).
toString
());
queryWrapper
.
like
(
"title"
,
params
.
get
(
"title"
).
toString
());
}
}
if
(
params
.
get
(
"service"
)
!=
null
&&
StringUtils
.
isNotBlank
(
params
.
get
(
"service"
).
toString
()))
{
queryWrapper
.
like
(
"service"
,
params
.
get
(
"service"
).
toString
());
}
return
casesDao
.
selectPage
(
page
,
queryWrapper
);
return
casesDao
.
selectPage
(
page
,
queryWrapper
);
}
}
...
...
src/main/java/io/office/modules/manage/service/impl/PartnersServiceImpl.java
View file @
f0150759
...
@@ -86,9 +86,16 @@ public class PartnersServiceImpl extends ServiceImpl<PartnersDao, PartnersEntity
...
@@ -86,9 +86,16 @@ public class PartnersServiceImpl extends ServiceImpl<PartnersDao, PartnersEntity
QueryWrapper
<
PartnersEntity
>
queryWrapper
=
new
QueryWrapper
<>();
QueryWrapper
<
PartnersEntity
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
eq
(
"status"
,
"1"
);
queryWrapper
.
eq
(
"status"
,
"1"
);
queryWrapper
.
gt
(
"levels"
,
"0"
);
queryWrapper
.
gt
(
"levels"
,
"0"
);
if
(
params
.
get
(
"firmname"
)
!=
null
&&
StringUtils
.
isNotBlank
(
params
.
get
(
"firmname"
).
toString
()))
{
if
(
params
.
get
(
"firmname"
)
!=
null
&&
StringUtils
.
isNotBlank
(
params
.
get
(
"firmname"
).
toString
()))
{
queryWrapper
.
like
(
"firmname"
,
params
.
get
(
"firmname"
).
toString
());
queryWrapper
.
like
(
"firmname"
,
params
.
get
(
"firmname"
).
toString
());
}
}
if
(
params
.
get
(
"service"
)
!=
null
&&
StringUtils
.
isNotBlank
(
params
.
get
(
"service"
).
toString
()))
{
queryWrapper
.
like
(
"service"
,
params
.
get
(
"service"
).
toString
());
}
if
(
params
.
get
(
"technology"
)
!=
null
&&
StringUtils
.
isNotBlank
(
params
.
get
(
"technology"
).
toString
()))
{
queryWrapper
.
like
(
"technology"
,
params
.
get
(
"technology"
).
toString
());
}
return
baseMapper
.
selectPage
(
page
,
queryWrapper
);
return
baseMapper
.
selectPage
(
page
,
queryWrapper
);
//return partnersDao.selectByStatusAndLevels(status,levels);
//return partnersDao.selectByStatusAndLevels(status,levels);
...
...
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