Commit 0db1cb54 by lili

修改封面图处理

parent 251f9f93
...@@ -1447,6 +1447,9 @@ public class BookBizImpl implements BookBiz { ...@@ -1447,6 +1447,9 @@ public class BookBizImpl implements BookBiz {
this.checkParam(book); this.checkParam(book);
// 修改图书基本信息 // 修改图书基本信息
bookDao.updateByAdviser(book); bookDao.updateByAdviser(book);
//获取图书基本信息
BookDto bookDto = this.getBaseById(book.getBookId());
checkIsUpdateCoverImgAndSendTopic(bookDto, book.getCoverImg());
// 清除redis中数据 // 清除redis中数据
bookCache.clearRedisByBook(book.getBookId(), book.getIsbn(), book.getSerialNumber()); bookCache.clearRedisByBook(book.getBookId(), book.getIsbn(), book.getSerialNumber());
//修改图书类型 //修改图书类型
......
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