updatePasswordFromDTO(PasswordResetRequest dto, @MappingTarget User entity);根据本教程,@Mapper(componentModel = "spring")生成映射程序作为一个但是当我试图在我的服务层class中这样做时,@Transactional
public class AccountServiceImpl implements IAccountService-- https://mvnrepository.co
我有一个实体,有一个我曾经写过的财产,像这个私人的长ICU;这是我为上述实体绘制的地图:public基于:private Long ICU;生成方法(如setICU和getICU )生成了它的getter和setter。但是现在我已经将属性从ICU更改为icu,mapstruct没有将其方法更新为setIcu和getIcu。
我不能手动更改mapstruct生成的文件。