RED-4007: INC12878261: Cannot set dossier dictionary to "addToDictionaryAction": true
This commit is contained in:
parent
09988f5caf
commit
7d4da5fa83
@ -79,9 +79,11 @@ public class DictionaryPersistenceService {
|
|||||||
type.setRecommendationHexColor(typeValueRequest.getRecommendationHexColor());
|
type.setRecommendationHexColor(typeValueRequest.getRecommendationHexColor());
|
||||||
type.setDescription(typeValueRequest.getDescription());
|
type.setDescription(typeValueRequest.getDescription());
|
||||||
type.setLabel(typeValueRequest.getLabel());
|
type.setLabel(typeValueRequest.getLabel());
|
||||||
|
type.setAddToDictionaryAction(typeValueRequest.isAddToDictionaryAction());
|
||||||
} else {
|
} else {
|
||||||
BeanUtils.copyProperties(typeValueRequest, type, "type", "dossierTemplateId", "dossierId", "entries", "falsePositiveEntries", "falseRecommendationEntries", "dossierTemplate", "dossier", "id", "version");
|
BeanUtils.copyProperties(typeValueRequest, type, "type", "dossierTemplateId", "dossierId", "entries", "falsePositiveEntries", "falseRecommendationEntries", "dossierTemplate", "dossier", "id", "version");
|
||||||
}
|
}
|
||||||
|
typeRepository.save(type);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user