How to use mapstruct in Spring Boot app, to map a field with one condition?

后端 未结 0 1984
终归单人心
终归单人心 2021-01-13 19:22

I\'m using mapstruct to map 2 Java objects in a Spring Boot project.

And I have this mapping:

@Mappings({
        @Mapping(target = "id", sou         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题