Commit 6532c593 authored by xiaoguang.xu's avatar xiaoguang.xu

去掉批量查询的缓存

parent b3e8b5a9
......@@ -34,8 +34,6 @@ public class UserCenterServiceImpl implements UserCenterService {
}
@Override
@Cacheable(value = "userAttachedCache", key = "'xyqbUserAttached' + #userIds", unless = "#result == null", cacheManager =
"cacheManager")
public List<UserAttached> searchUserAttachedListByUserId(List<Long> userIds) {
return userAttachedRepository.findByUserIdIn(userIds);
}
......
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