freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

javaweb簡單的圖書管理系統(tǒng)(編輯修改稿)

2025-05-04 06:03 本頁面
 

【文章內(nèi)容簡介】 l。 PreparedStatement ps=null。 try { conn=()。 String sql=insert into lendbook values(?,?,?,?,?,?)。 ps=(sql)。 (1, ())。 (2, (()))。 (3, ())。 (4, ())。 (5, ())。 (6, ())。 ()。 } finally { (null, ps, conn)。 } } public ListUser QueryAll() throws Exception//列出全部用戶 { Connection conn=null。 PreparedStatement ps=null。 ResultSet rs=null。 ListUser userList=new ArrayListUser()。 try { conn=()。 String sql=select * from user。 ps=(sql)。 rs=()。 while(()){ User user=new User()。 ((1))。 ((2))。 (user)。 } } finally { (rs, ps, conn)。 } return userList。 } public void delete(String bookno) throws Exception//刪除圖書 { Connection conn=null。 PreparedStatement ps=null。 try{ conn=()。 String sql=delete from book_info where bno=?。 ps=(sql)。 (1, bookno)。 ()。 } finally{ (null, ps, conn)。 } } public void returnbook(String bno,String username) throws Exception//歸還圖書 { Connection conn=null。 PreparedStatement ps=null。 try{ conn=()。 String sql=delete from lendbook where bno=? and username=?。 ps=(sql)。 (1, bno)。 (2, username)。 ()。 } finally{ (null, ps, conn)。 } } public void delete_user(String username) throws Exception//刪除用戶 { Connection conn=null。 PreparedStatement ps=null。 try{ conn=()。 String sql=delete from user where name=?。 ps=(sql)。 (1, username)。 ()。 } finally{ (null, ps, conn)。 }} public int getPageCount() throws Exception{//分頁 Connection conn=null。 PreparedStatement ps=null。 ResultSet rs=null。 int recordCount=0,t1=0,t2=0。 try { conn=()。 String sql=select count(*) from book_info。
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1