From 48c2a93182ca61141ce086ab35bdccc06184b6f0 Mon Sep 17 00:00:00 2001 From: Parker Date: Sun, 4 Apr 2021 11:38:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8F=82=E6=95=B0=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E7=BC=93=E5=AD=98=20=E8=8E=B7=E5=BE=97=E5=85=A8?= =?UTF-8?q?=E9=83=A8=20=E5=8F=AF=E8=83=BD=E6=95=B0=E6=8D=AE=E4=B8=A2?= =?UTF-8?q?=E5=A4=B1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/options/web/SysOptionsRestController.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/opsli-modulars/opsli-modulars-system/src/main/java/org/opsli/modulars/system/options/web/SysOptionsRestController.java b/opsli-modulars/opsli-modulars-system/src/main/java/org/opsli/modulars/system/options/web/SysOptionsRestController.java index b15722f..1f2cf64 100644 --- a/opsli-modulars/opsli-modulars-system/src/main/java/org/opsli/modulars/system/options/web/SysOptionsRestController.java +++ b/opsli-modulars/opsli-modulars-system/src/main/java/org/opsli/modulars/system/options/web/SysOptionsRestController.java @@ -269,8 +269,11 @@ public class SysOptionsRestController extends BaseRestController> findAllOptions() { + // 数据库查询数据 + List allList = IService.findAllList(); return ResultVo.success( - OptionsUtil.findAllOptions() + OptionsUtil.convertOptionsMap( + WrapperUtil.transformInstance(allList, OptionsModel.class)) ); }