package com.lovecoding.mvc.service;

import com.lovecoding.mvc.doman.Book;
import com.lovecoding.mvc.mapper.BookMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class BookServiceImpl implements BookService {


    @Resource
    BookMapper bookMapper;


    public Book get( Long bookId) {
        return bookMapper.get(bookId);
    }

}
