--图书分类
This commit is contained in:
@@ -97,23 +97,24 @@ public class UserEbookBuyController {
|
||||
List<UserEbookBuyEntity> user_id = userEbookBuyService.getBaseMapper().selectList(new QueryWrapper<UserEbookBuyEntity>().eq("user_id", userId));
|
||||
for (UserEbookBuyEntity userEbookBuyEntity : user_id) {
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
Integer bookId = userEbookBuyEntity.getBookId();
|
||||
Integer userId1 = userEbookBuyEntity.getUserId();
|
||||
String bookName = userEbookBuyEntity.getBookName();
|
||||
Integer bookId = userEbookBuyEntity.getBookId();
|
||||
Integer buyId = userEbookBuyEntity.getBuyId();
|
||||
String image = userEbookBuyEntity.getImage();
|
||||
String author = userEbookBuyEntity.getAuthor();
|
||||
List<BookEntity> id = bookService.getBaseMapper().selectList(new QueryWrapper<BookEntity>().eq("id", bookId));
|
||||
for (BookEntity bookEntity : id) {
|
||||
String images = bookEntity.getImages();
|
||||
Integer id1 = bookEntity.getId();
|
||||
String name1 = bookEntity.getName();
|
||||
|
||||
String name = bookEntity.getName();
|
||||
Boolean canListen = bookEntity.getCanListen();
|
||||
map.put("canListen", canListen);
|
||||
map.put("bookId",bookId);
|
||||
map.put("userId",userId1);
|
||||
map.put("bookName",bookName);
|
||||
map.put("bookName",name1);
|
||||
map.put("buyId",buyId);
|
||||
map.put("image",image);
|
||||
map.put("author",author);
|
||||
map.put("image",images);
|
||||
// map.put("author",author);
|
||||
|
||||
list.add(map);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user