From d88379444c5790417b1b7495e0e3ad5e041b799e Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期二, 04 七月 2023 18:06:21 +0800 Subject: [PATCH] 1、对redis取值方式进行修改。 2、对模板属性批量保存的DTO进行了大写的改动。 --- Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/wrapper/MenuWrapper.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/wrapper/MenuWrapper.java b/Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/wrapper/MenuWrapper.java index 638cdd6..57da7fe 100644 --- a/Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/wrapper/MenuWrapper.java +++ b/Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/wrapper/MenuWrapper.java @@ -16,6 +16,7 @@ */ package com.vci.ubcs.system.wrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; import org.springblade.core.mp.support.BaseEntityWrapper; import org.springblade.core.tool.constant.BladeConstant; import org.springblade.core.tool.node.ForestNodeMerger; @@ -69,4 +70,10 @@ return ForestNodeMerger.merge(list); } + public IPage<MenuVO> pageNodeLazyVO(IPage<MenuVO> page) { + List<MenuVO> merge = ForestNodeMerger.merge(page.getRecords()); + page.setRecords(merge); + return page; + } + } -- Gitblit v1.9.3