Commit 099cdd7e by 朱亚洁

bug:[1027867]书架删除

parent 3e56350a
...@@ -446,10 +446,12 @@ public class AppletUserBookcaseBizImpl implements AppletUserBookcaseBiz { ...@@ -446,10 +446,12 @@ public class AppletUserBookcaseBizImpl implements AppletUserBookcaseBiz {
if (ListUtils.isEmpty(ids)) { if (ListUtils.isEmpty(ids)) {
return; return;
} }
esBookAndAdviserBiz.updateBookAndAdviserToES(appletUserBookcaseDao.getBookIdsByIds(ids));
appletUserBookcaseDao.deleteByIds(ids); appletUserBookcaseDao.deleteByIds(ids);
JedisClusterUtils.del(AppletConstants.USER_BOOK_CASE + wechatUserId); JedisClusterUtils.del(AppletConstants.USER_BOOK_CASE + wechatUserId);
JedisClusterUtils.del(AppletConstants.USER_BOOK_CASE_COUNT + wechatUserId); JedisClusterUtils.del(AppletConstants.USER_BOOK_CASE_COUNT + wechatUserId);
ThreadPoolUtils.OTHER_THREAD_POOL.execute(()->{
esBookAndAdviserBiz.updateBookAndAdviserToES(appletUserBookcaseDao.getBookIdsByIds(ids));
});
} }
@Override @Override
......
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