Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
guns-vip
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
guns-vip
Commits
0ded1702
Commit
0ded1702
authored
Jun 20, 2019
by
fengshuonan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新查询条件
parent
599d1bf4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletions
+13
-1
guns-sys/src/main/java/cn/stylefeng/guns/sys/modular/consts/controller/SysConfigController.java
+13
-1
No files found.
guns-sys/src/main/java/cn/stylefeng/guns/sys/modular/consts/controller/SysConfigController.java
View file @
0ded1702
...
@@ -6,9 +6,11 @@ import cn.stylefeng.guns.sys.modular.consts.model.params.SysConfigParam;
...
@@ -6,9 +6,11 @@ import cn.stylefeng.guns.sys.modular.consts.model.params.SysConfigParam;
import
cn.stylefeng.guns.sys.modular.consts.service.SysConfigService
;
import
cn.stylefeng.guns.sys.modular.consts.service.SysConfigService
;
import
cn.stylefeng.roses.core.base.controller.BaseController
;
import
cn.stylefeng.roses.core.base.controller.BaseController
;
import
cn.stylefeng.roses.core.reqres.response.ResponseData
;
import
cn.stylefeng.roses.core.reqres.response.ResponseData
;
import
cn.stylefeng.roses.core.util.ToolUtil
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
org.springframework.web.bind.annotation.ResponseBody
;
...
@@ -120,7 +122,17 @@ public class SysConfigController extends BaseController {
...
@@ -120,7 +122,17 @@ public class SysConfigController extends BaseController {
*/
*/
@ResponseBody
@ResponseBody
@RequestMapping
(
"/list"
)
@RequestMapping
(
"/list"
)
public
LayuiPageInfo
list
(
SysConfigParam
sysConfigParam
)
{
public
LayuiPageInfo
list
(
@RequestParam
(
value
=
"condition"
,
required
=
false
)
String
condition
)
{
SysConfigParam
sysConfigParam
=
new
SysConfigParam
();
if
(
ToolUtil
.
isNotEmpty
(
condition
))
{
sysConfigParam
.
setCode
(
condition
);
sysConfigParam
.
setName
(
condition
);
sysConfigParam
.
setRemark
(
condition
);
sysConfigParam
.
setValue
(
condition
);
}
return
this
.
sysConfigService
.
findPageBySpec
(
sysConfigParam
);
return
this
.
sysConfigService
.
findPageBySpec
(
sysConfigParam
);
}
}
...
...
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