zhuyapeng 2 лет назад
Родитель
Сommit
dd5bc470de

+ 1 - 1
smsb-customer-manager-app/src/main/java/com/inspur/customer/service/tenant/TenantCommonAttributeServiceImpl.java

@@ -33,7 +33,7 @@ public class TenantCommonAttributeServiceImpl extends ServiceImpl<TenantCommonAt
     private SmsbDeviceService smsbDeviceService;
 
     @Override
-    @CacheEvict(value = "msr:customer:tenantCommonAttribute")
+    @CacheEvict(value = "msr:customer:tenantCommonAttribute", allEntries=true)
     public Response saveOrUpdate(TenantAttributeCO attributeCO) {
         TenantCommonAttributeDO tenantAttribute = queryOne(attributeCO.getTenant() ,attributeCO.getAttributeKey());
         if(Objects.nonNull(tenantAttribute)){