From 00d7febcf13b321f7203ad383250ad70aee388ff Mon Sep 17 00:00:00 2001 From: haoxr <1490493387@qq.com> Date: Sat, 24 Dec 2022 11:52:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=98=A0=E5=B0=84=E6=96=B9=E6=B3=95?= =?UTF-8?q?=E5=90=8D=E9=94=99=E8=AF=AF=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/youlai/system/converter/UserConverter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youlai-system/system-boot/src/main/java/com/youlai/system/converter/UserConverter.java b/youlai-system/system-boot/src/main/java/com/youlai/system/converter/UserConverter.java index 75c29dee4..349c46b76 100644 --- a/youlai-system/system-boot/src/main/java/com/youlai/system/converter/UserConverter.java +++ b/youlai-system/system-boot/src/main/java/com/youlai/system/converter/UserConverter.java @@ -22,9 +22,9 @@ import org.mapstruct.Mappings; public interface UserConverter { @Mappings({ - @Mapping(target = "genderLabel", expression = "java(com.youlai.common.base.IBaseEnum.getLabelByValue(po.getGender(), com.youlai.common.enums.GenderEnum.class))") + @Mapping(target = "genderLabel", expression = "java(com.youlai.common.base.IBaseEnum.getLabelByValue(bo.getGender(), com.youlai.common.enums.GenderEnum.class))") }) - UserVO po2Vo(UserBO po); + UserVO bo2Vo(UserBO bo); Page bo2Vo(Page po);