修改

parent 170a6b83
......@@ -213,7 +213,9 @@ public class SessionServiceImpl implements ISessionService {
* @param user
*/
@Caching(evict = {@CacheEvict(value = "usercache", key = "'xyqbuser' + #user.phoneNo", cacheManager = "cacheManager"),
@CacheEvict(value = "usercache", key = "'xyqbuser' + #user.uuid", cacheManager = "cacheManager")})
@CacheEvict(value = "usercache", key = "'xyqbuser' + #user.uuid", cacheManager = "cacheManager"),
@CacheEvict(value = "addresscache", key = "'address' + #user.id", cacheManager = "cacheManager"),
@CacheEvict(value = "contact", key = "'contact' + #user.id", cacheManager = "cacheManager")})
private void deleteUserCatch(User user) {
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment