示例#1
0
 public Boolean doDelete(Long bid, Long uid) {
   bookDao.delete(bid);
   return null;
 }
示例#2
0
 public BookModel doCreate(BookModel bookModel, Long uid) {
   bookDao.insert(bookModel);
   return bookModel;
 }
示例#3
0
 public BookModel doUpdate(BookModel bookModel, Long bid, Long uid) {
   bookDao.update(bookModel);
   return bookModel;
 }
示例#4
0
 public BookModel queryModel(Long id, Long uid) {
   // TODO
   return bookDao.queryOne(id);
 }