Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
admin
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
曲欣亮
admin
Commits
9dbe236d
Commit
9dbe236d
authored
Aug 07, 2018
by
zhangyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
5c5d909b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
LinkListController.java
...n/java/com/egolm/admin/controller/LinkListController.java
+1
-1
LinkListServiceImpl.java
...ava/com/egolm/admin/service/impl/LinkListServiceImpl.java
+1
-1
No files found.
src/main/java/com/egolm/admin/controller/LinkListController.java
View file @
9dbe236d
...
@@ -134,7 +134,7 @@ public class LinkListController {
...
@@ -134,7 +134,7 @@ public class LinkListController {
Page
page
=
new
Page
();
Page
page
=
new
Page
();
page
.
setIndex
(
Long
.
valueOf
(
index
));
page
.
setIndex
(
Long
.
valueOf
(
index
));
page
.
setLimit
(
Long
.
valueOf
(
limit
));
page
.
setLimit
(
Long
.
valueOf
(
limit
));
page
.
setLimitKey
(
"
dL
astUpdateTime desc "
);
page
.
setLimitKey
(
"
l
astUpdateTime desc "
);
List
<
Map
<
String
,
Object
>>
tLinkList
=
linkListService
.
query
(
params
,
page
);
List
<
Map
<
String
,
Object
>>
tLinkList
=
linkListService
.
query
(
params
,
page
);
...
...
src/main/java/com/egolm/admin/service/impl/LinkListServiceImpl.java
View file @
9dbe236d
...
@@ -107,7 +107,7 @@ public class LinkListServiceImpl implements LinkListService {
...
@@ -107,7 +107,7 @@ public class LinkListServiceImpl implements LinkListService {
+
" FROM tLinkList WHERE nTag&1=0 "
;
+
" FROM tLinkList WHERE nTag&1=0 "
;
if
(
params
!=
null
&&
params
.
size
()>
0
)
{
if
(
params
!=
null
&&
params
.
size
()>
0
)
{
String
queryMsg
=
params
.
get
(
"queryMsg"
)+
""
;
String
queryMsg
=
params
.
get
(
"queryMsg"
)+
""
;
if
(
StringUtil
.
isNot
Empty
(
queryMsg
))
{
if
(
StringUtil
.
isNot
UndefinedAndNull
(
queryMsg
))
{
sql
+=
" and (sLinkNO like '%"
+
queryMsg
+
"%' or sLinkName like '%"
+
queryMsg
+
"%' or sLinkType like '%"
+
queryMsg
+
"%') "
;
sql
+=
" and (sLinkNO like '%"
+
queryMsg
+
"%' or sLinkName like '%"
+
queryMsg
+
"%' or sLinkType like '%"
+
queryMsg
+
"%') "
;
}
}
}
}
...
...
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