diff --git a/hyp-admin/src/main/java/com/hyp/web/controller/system/SysDictDataController.java b/hyp-admin/src/main/java/com/hyp/web/controller/system/SysDictDataController.java index 412041a..d571281 100644 --- a/hyp-admin/src/main/java/com/hyp/web/controller/system/SysDictDataController.java +++ b/hyp-admin/src/main/java/com/hyp/web/controller/system/SysDictDataController.java @@ -78,7 +78,7 @@ public class SysDictDataController extends BaseController List data = dictTypeService.selectDictDataByType(dictType); if (StringUtils.isNull(data)) { - data = new ArrayList(); + data = new ArrayList<>(); } return success(data); }