mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-22 20:54:26 +08:00
fix: 映射方法名错误调整
This commit is contained in:
parent
15dced06ec
commit
00d7febcf1
@ -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<UserVO> bo2Vo(Page<UserBO> po);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user