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