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
RuoYi Vue
Commits
c01eeb85
Commit
c01eeb85
authored
Dec 08, 2020
by
abbfun
Committed by
Gitee
Dec 08, 2020
Browse files
update ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDictDataController.java.
parent
f90899d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDictDataController.java
View file @
c01eeb85
...
...
@@ -73,7 +73,10 @@ public class SysDictDataController extends BaseController
@GetMapping
(
value
=
"/type/{dictType}"
)
public
AjaxResult
dictType
(
@PathVariable
String
dictType
)
{
return
AjaxResult
.
success
(
dictTypeService
.
selectDictDataByType
(
dictType
));
List
<
SysDictData
>
data
=
dictTypeService
.
selectDictDataByType
(
dictType
);
if
(
data
==
null
)
data
=
new
ArrayList
<>();
return
AjaxResult
.
success
(
data
);
}
/**
...
...
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