全文预览

考研资讯网的设计与实现

上传者:徐小白 |  格式:pdf  |  页数:83 |  大小:6523KB

文档介绍
pper.updateSubject(subject);\r)\rpublicList<Subject>getAll(){\rreturnsubjectMapper.getAll();\r78EvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\r)\rÈC5BookService.java\rpackagecom.sqc.service;\rimportjava.util.List;\rimportjava.util.Map;\rimportorg.springframework.beans.factory.annotation.Autowired;\rimportorg.springframework.stereotype.Service;\rimportcom.sqc.bean.Book;\rimportcom.sqc.dao.BookMapper;\r@Service\rpublicclassBookService{\r@Autowired\rBookMapperbookMapper;\rpublicList<Map<String,Object]getBooksPageBySubjectId(Stringsubjectld){\rreturnbookMapper.selectAHBookBySubjectld(subjectld);\r)\rpublicList<Map<String,Object]getBookListByPage(intpage,intlimit){\rreturnbookMapper.selectByPage((page-l)*limit,limit);\r)\rpublicintcountAll(){\rreturnbookMapper.countAll();\r)\r79

收藏

分享

举报
下载此文档