Пример #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);
 }