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
1657e06b
Commit
1657e06b
authored
Dec 08, 2020
by
若依
Committed by
Gitee
Dec 08, 2020
Browse files
!132 update ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDictDataController.java.
Merge pull request !132 from abbfun/N/A
parents
f90899d7
c01eeb85
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDictDataController.java
View file @
1657e06b
...
...
@@ -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