資源簡介
基于MVC設計模式的javaweb項目,開發工具為idea,mysql,tomcat等,實現了增刪改查,分頁查詢等等,項目代碼規范。

代碼片段和文件信息
package?com.jmp.dao;
import?com.jmp.pojo.Book;
import?java.sql.SQLException;
import?java.util.List;
/**
?*?@author?JYH
?*?@version?1.0
?*?@date?2020/6/20?0:21
?*/
public?interface?BookDao?{
????/**
?????*?查詢所有圖書
?????*/
????List?selectAll()?throws?SQLException;
????/**
?????*?添加圖書
?????*/
????void?add(Book?book)?throws?SQLException;
????/**
?????*?更新圖書信息
?????*/
????void?update(Book?book)?throws?SQLException;
????/**
?????*?刪除圖書
?????*/
????void?delete(Book?book)?throws?SQLException;
????/**
?????*?根據書名模糊查詢
?????*/
????List?blurryName(Book?book)?throws?SQLException;
????/**
?????*?獲取具體的圖書信息
?????*?@return
?????*/
????Book?bookInfo(Book?book)?throws?SQLException;
????/**
?????*?分頁查詢圖書(后期添加?---?使用default關鍵字)
?????*/
????List?selectAll(int?currentPageint?pageSize)?throws?SQLException;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2020-07-14?14:18??book\
?????目錄???????????0??2020-07-14?14:18??book\.git\
?????文件??????????13??2020-07-14?14:17??book\.git\COMMIT_EDITMSG
?????文件?????????296??2020-06-23?13:18??book\.git\config
?????文件??????????73??2020-06-21?10:44??book\.git\desc
?????文件???????????0??2020-06-21?12:50??book\.git\FETCH_HEAD
?????文件??????????23??2020-06-21?10:44??book\.git\HEAD
?????目錄???????????0??2020-07-14?14:18??book\.git\hooks\
?????文件?????????478??2020-06-21?10:44??book\.git\hooks\applypatch-msg.sample
?????文件?????????896??2020-06-21?10:44??book\.git\hooks\commit-msg.sample
?????文件????????4655??2020-06-21?10:44??book\.git\hooks\fsmonitor-watchman.sample
?????文件?????????189??2020-06-21?10:44??book\.git\hooks\post-update.sample
?????文件?????????424??2020-06-21?10:44??book\.git\hooks\pre-applypatch.sample
?????文件????????1643??2020-06-21?10:44??book\.git\hooks\pre-commit.sample
?????文件?????????416??2020-06-21?10:44??book\.git\hooks\pre-merge-commit.sample
?????文件????????1348??2020-06-21?10:44??book\.git\hooks\pre-push.sample
?????文件????????4898??2020-06-21?10:44??book\.git\hooks\pre-reba
?????文件?????????544??2020-06-21?10:44??book\.git\hooks\pre-receive.sample
?????文件????????1492??2020-06-21?10:44??book\.git\hooks\prepare-commit-msg.sample
?????文件????????3635??2020-06-21?10:44??book\.git\hooks\update.sample
?????文件????????4172??2020-07-14?14:18??book\.git\index
?????目錄???????????0??2020-06-21?10:44??book\.git\info\
?????文件?????????240??2020-06-21?10:44??book\.git\info\exclude
?????目錄???????????0??2020-07-14?14:18??book\.git\logs\
?????文件????????2521??2020-07-14?14:17??book\.git\logs\HEAD
?????目錄???????????0??2020-07-14?14:18??book\.git\logs\refs\
?????目錄???????????0??2020-06-21?10:45??book\.git\logs\refs\heads\
?????文件????????2231??2020-07-14?14:17??book\.git\logs\refs\heads\master
?????目錄???????????0??2020-07-14?14:18??book\.git\logs\refs\remotes\
?????目錄???????????0??2020-06-23?13:18??book\.git\logs\refs\remotes\origin\
?????文件?????????552??2020-07-14?14:17??book\.git\logs\refs\remotes\origin\master
............此處省略394個文件信息
評論
共有 條評論