|
@@ -105,6 +105,7 @@ public class SimplePersonService extends EnableCacheGenericEntityService<PersonE
|
|
@Override
|
|
@Override
|
|
@Caching(evict = {
|
|
@Caching(evict = {
|
|
@CacheEvict(key = "'id:'+#result"),
|
|
@CacheEvict(key = "'id:'+#result"),
|
|
|
|
+ @CacheEvict(key = "'auth:persion-id'+#result"),
|
|
@CacheEvict(key = "'auth-bind'+#result")
|
|
@CacheEvict(key = "'auth-bind'+#result")
|
|
})
|
|
})
|
|
public String insert(PersonAuthBindEntity authBindEntity) {
|
|
public String insert(PersonAuthBindEntity authBindEntity) {
|
|
@@ -123,6 +124,7 @@ public class SimplePersonService extends EnableCacheGenericEntityService<PersonE
|
|
@Override
|
|
@Override
|
|
@Caching(evict = {
|
|
@Caching(evict = {
|
|
@CacheEvict(key = "'id:'+#authBindEntity.id"),
|
|
@CacheEvict(key = "'id:'+#authBindEntity.id"),
|
|
|
|
+ @CacheEvict(key = "'auth:persion-id'+#authBindEntity.id"),
|
|
@CacheEvict(key = "'auth-bind'+#authBindEntity.id")
|
|
@CacheEvict(key = "'auth-bind'+#authBindEntity.id")
|
|
})
|
|
})
|
|
public int updateByPk(PersonAuthBindEntity authBindEntity) {
|
|
public int updateByPk(PersonAuthBindEntity authBindEntity) {
|