builder component bean conflict fix

This commit is contained in:
amentis 2024-03-05 13:59:53 +02:00
parent 4ebabd68ab
commit 6c82fcf8b0
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ import org.springframework.stereotype.Component;
import java.util.*;
import java.util.stream.Collectors;
@Component
@Component("commonmodels.description")
@Scope(value = ConfigurableBeanFactory.SCOPE_PROTOTYPE)
public class FieldCommonModelBuilder extends BaseCommonModelBuilder<FieldModel, FieldEntity> {
private final BuilderFactory builderFactory;

View File

@ -23,7 +23,7 @@ import java.util.EnumSet;
import java.util.List;
import java.util.Optional;
@Component
@Component("commonmodels.descriptiontemplate")
@Scope(value = ConfigurableBeanFactory.SCOPE_PROTOTYPE)
public class FieldCommonModelBuilder extends BaseCommonModelBuilder<FieldModel, FieldEntity> {
private final BuilderFactory builderFactory;