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)) ); }