Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
api-service-gateway
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
朱允伟
api-service-gateway
Commits
55a0259b
Commit
55a0259b
authored
Oct 13, 2021
by
李欣峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
<dev>
1.修改查看我的api(getMyApi)模糊查询不准确问题3
parent
9478c761
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
api-service-project/api-service-application/src/main/java/com/zorkdata/apiservice/application/impl/ApiServiceApplicationImpl.java
...piservice/application/impl/ApiServiceApplicationImpl.java
+1
-1
No files found.
api-service-project/api-service-application/src/main/java/com/zorkdata/apiservice/application/impl/ApiServiceApplicationImpl.java
View file @
55a0259b
...
...
@@ -439,7 +439,7 @@ public class ApiServiceApplicationImpl implements ApiApplication {
predicates
.
add
(
keywordPredicate1
);
}
if
(
StringUtils
.
isNotBlank
(
datasource
))
{
String
datasourceWord
=
StrUtil
.
builder
(
"%"
,
"name\""
+
":"
+
"\""
+
datasource
,
"%"
).
toString
();
String
datasourceWord
=
StrUtil
.
builder
(
"%"
,
datasource
,
"%"
).
toString
();
Predicate
keywordPredicate2
=
criteriaBuilder
.
and
(
criteriaBuilder
.
like
(
root
.
get
(
"datasource"
),
datasourceWord
));
predicates
.
add
(
keywordPredicate2
);
}
...
...
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