Fixed entity view cache evict
This commit is contained in:
parent
78436f9baa
commit
39e6b904c1
@ -91,9 +91,6 @@ public class EntityViewServiceImpl extends AbstractEntityService implements Enti
|
||||
@Autowired
|
||||
private CustomerDao customerDao;
|
||||
|
||||
@Autowired
|
||||
private AttributesService attributesService;
|
||||
|
||||
@Autowired
|
||||
private CacheManager cacheManager;
|
||||
|
||||
@ -108,6 +105,7 @@ public class EntityViewServiceImpl extends AbstractEntityService implements Enti
|
||||
return savedEntityView;
|
||||
}
|
||||
|
||||
@CacheEvict(cacheNames = ENTITY_VIEW_CACHE, key = "{#entityViewId}")
|
||||
@Override
|
||||
public EntityView assignEntityViewToCustomer(EntityViewId entityViewId, CustomerId customerId) {
|
||||
EntityView entityView = findEntityViewById(entityViewId);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user