Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Springboot Plus
Commits
88960315
Commit
88960315
authored
Feb 26, 2018
by
李家智
Browse files
page bug fix
parent
5c7f7dfd
Changes
2
Hide whitespace changes
Inline
Side-by-side
admin-console/src/main/resources/sql/console/dict.md
View file @
88960315
...
...
@@ -8,19 +8,18 @@ queryByCondition
@}
from core_dict t
where del_flag=0
@//数据权限,该sql语句功能点
and #function("dict.query")#
@if(!isEmpty(value)){
and t.VALUE
=#
value#
and t.VALUE
like #"%"+
value
+"%"
#
@}
@if(!isEmpty(name)){
and t.NAME
=#name
#
and t.NAME
like #"%"+name+"%"
#
@}
@if(!isEmpty(typeName)){
and t.TYPE_NAME
=#
typeName#
and t.TYPE_NAME
like #"%"+
typeName
+"%"
#
@}
@if(!isEmpty(parent)){
and t.PARENT
=#
parent#
and t.PARENT
like #"%"+
parent
+"%"
#
@}
@pageIgnoreTag(){
order by create_time desc
...
...
admin-core/src/main/resources/static/js/lib.js
View file @
88960315
...
...
@@ -232,10 +232,13 @@ var Lib = {
/* 搜索 */
doSearchForm
:
function
(
form
,
tableIns
,
page
)
{
var
data
=
form
.
serializeJson
()
if
(
page
=
=
null
)
{
if
(
page
!
=
null
)
{
tableIns
.
reload
({
where
:
data
,
page
:
page
page
:
{
curr
:
page
}
});
}
else
{
tableIns
.
reload
({
...
...
Write
Preview
Supports
Markdown
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