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

正文內(nèi)容

圖書館管理系統(tǒng)經(jīng)典優(yōu)秀畢業(yè)論文-資料下載頁

2025-06-25 15:11本頁面
  

【正文】 b_reader(name,sex,age,identityCard,date,maxNum,tel,keepMoney,zj,zy,bztime,ISBN) values(39。+name+39。,39。+sex+39。,39。+age+39。,39。+identityCard+39。,39。+date+39。,39。+maxNum+39。,39。+tel+39。,+keepMoney+,39。+zj+39。,39。+zy+39。,39。+bztime+39。,39。+ISBN+39。)。(sql)。i=(sql)。}catch(Exception e){()。}()。return i。}public static List selectReader() {List list=new ArrayList()。String sql = select * from tb_reader。ResultSet rs = (sql)。try {while (()) {Reader reader=new Reader()。//((id))。((name))。((sex))。((age))。((identityCard))。((date))。((maxNum))。((tel))。((keepMoney))。((zj))。((zy))。((ISBN))。((bztime))。(reader)。}} catch (Exception e) {()。}()。return list。}public static List selectReader(String readerISBN) {List list=new ArrayList()。String sql = select * from tb_reader where ISBN=39。+readerISBN+39。ResultSet rs = (sql)。try {while (()) {Reader reader=new Reader()。((name))。((sex))。((age))。((identityCard))。((date))。((maxNum))。((tel))。((keepMoney))。((zj))。((zy))。((ISBN))。((bztime))。(reader)。}} catch (Exception e) {()。}()。return list。}//更新讀者信息public static int UpdateReader(String id,String name,String sex,String age,String identityCard,Date date,String maxNum,String tel,Double keepMoney,String zj,String zy,Date bztime,String ISBN){int i=0。try{String sql=update tb_reader set name=39。+name+39。,sex=39。+sex+39。,age=39。+age+39。,identityCard=39。+identityCard+39。,date=39。+date+39。,maxNum=39。+maxNum+39。,tel=39。+tel+39。,keepMoney=+keepMoney+,zj=39。+zj+39。,zy=39。+zy+39。,bztime=39。+bztime+39。where ISBN=39。+ISBN+39。i=(sql)。}catch(Exception e){()。}()。return i。}//刪除讀者信息public static int DelReader(String ISBN){int i=0。try{String sql=delete from tb_reader where ISBN=39。+ISBN+39。//(sql)。i=(sql)。}catch(Exception e){()。}()。return i。}//newpublic static List selectbookserch() {List list=new ArrayList()。String sql = select * from tb_bookInfo。ResultSet s = (sql)。try {while (()) {BookInfo bookinfo=new BookInfo()。((1))。((2))。((3))。((4))。((5))。((6))。((7))。((8))。(bookinfo)。}} catch (Exception e) {()。}()。return list。}//插入管理員public static int Insertoperator(String name,String sex,int age,String identityCard,Date workdate,String tel,String password,int yajin){int i=0。try{String sql=insert into tb_operator(name,sex,age,identityCard,workdate,tel,password,yajin) values(39。+name+39。,39。+sex+39。,+age+,39。+identityCard+39。,39。+workdate+39。,39。+tel+39。,39。+password+39。,39。+yajin+39。)。(sql)。i=(sql)。}catch(Exception e){()。}()。return i。}public static List selectuser() {List list=new ArrayList()。String sql = select id,name,sex,age,yajin,workdate,tel,password from tb_operator where admin=0。ResultSet rs = (sql)。try {while (()) {User user=new User()。((1))。((2))。((3))。((4))。//((5))。((5))。((6))。((7))。((8))。(user)。}} catch (Exception e) {()。}()。return list。}//刪除用戶public static int Deluser(int id){int i=0。try{String sql=delete from tb_operator where id=39。+id+39。//(sql)。i=(sql)。}catch(Exception e){()。}()。return i。}public static int Updateuser(int id,String name,String sex,int age,String identityCard,Date workdate,String tel,String password){int i=0。try{String sql=update tb_operator set name=39。+name+39。,sex=39。+sex+39。,age=+age+,identityCard=39。+identityCard+39。,workdate=39。+workdate+39。,tel=39。+tel+39。,password=39。+password+39。 where id=39。+id+39。i=(sql)。}catch(Exception e){()。}()。return i。}public static int Updatepass(String password,String name){int i=0。try{String sql=update tb_operator set password=39。+password+39。 where name=39。+name+39。i=(sql)。}catch(Exception e){()。}()。return i。}} 登錄模塊程序設(shè)計本模塊主要是用戶通過圖書管理系統(tǒng)的首頁登錄進入該系統(tǒng)。用戶輸入正確的用戶名和密碼,系統(tǒng)會根據(jù)用戶的身份進行相應(yīng)權(quán)限劃分;如果登錄信息有錯誤,則系統(tǒng)提示登入錯誤的信息,并且禁止系統(tǒng)用戶進行任何操作。圖書借閱管理系統(tǒng)的登錄主頁面。 圖書管理系統(tǒng)登錄首頁用戶在登錄頁面寫好用戶名和密碼,選擇登錄,登錄成功則跳轉(zhuǎn)到系統(tǒng)的首頁,否則提示錯誤信息 [14]。其中對系統(tǒng)用戶權(quán)限的設(shè)置是該操作的重要部分也是系統(tǒng)提高效率的關(guān)鍵所在,起具體實現(xiàn)代碼為:class BookLoginAction implements ActionListener {public void actionPerformed(final ActionEvent e) {user = ((), ())。if (() != null) {try {MainFrame frame = new MainFrame()。(true)。(false)。} catch (Exception ex) {()。}} else {(null, 只有管理員才可以登錄!)。()。()。}}} 讀者管理功能模塊的實現(xiàn)讀者管理主要實現(xiàn)對讀者的類型管理和信息管理兩個功能子模塊,其中讀者類型管理中需要設(shè)置不同類型讀者一次性可借閱的圖書數(shù)量,讀者信息管理則主要管理維護讀者的基本信息: 該管理功能在設(shè)置讀者信息時需要輸入讀者姓名,性別,條形碼,選擇讀者類別,有效證件,證件號碼,電話, 等信息。其中的姓名,性別,條形碼,證件號碼是必填選項。 查詢功能模塊的實現(xiàn)查詢功能模塊包括圖書查詢,讀者借閱查詢和借閱到期提醒三個子功能模塊。1) 圖書查詢可根據(jù)圖書的條形碼,書名,作者,出版社等不同信息進行查詢“ 實現(xiàn)該功能中根據(jù)讀者不同需求的按條件查詢實現(xiàn)語句如下:public Collection query(String strif){BookForm bookForm=null。Collection bookColl=new ArrayList()。String sql=。if(strif!=all amp。amp。 strif!=null amp。amp。 strif!=){ sql=select * from (select b.*, as bookcaseName, as publishing, from tb_bookinfo b left join tb_bookcase c on = join tb_publishing p on = join tb_booktype t on = where =0) as book where book.+strif+39。}else{ sql=select b.*, as bookcaseName, as publishing, from tb_bookinfo b left join tb_bookcase c on = join tb_publishing p on = join tb_booktype t on = where =0。}(圖書查詢時的SQL:+sql)。ResultSet rs=(sql)。try { while (()) { bookForm=new BookForm()。 ((1))。 ((2))。 ((3))。 ((4))。 ((5))。 ((6))。 (((7)))。 //此處必須進行類型轉(zhuǎn)換 ((8))。 ((9))。 ((10))。 ((11))。 ((12))。 (((13)))。 ((14))。 ((15))。 ((16))。 (bookForm)。 }} catch (SQLException ex) {()。}()。return bookColl。}2)借閱查詢子模塊是對圖書當前狀態(tài)和讀者當前的借閱情況進行查詢,具有此權(quán)限的用戶登錄并進入該操作界面后選中相應(yīng)的查詢條件,并輸入相應(yīng)的查詢信息,系統(tǒng)即可在頁面顯示被查詢的圖書的狀態(tài),或相應(yīng)讀者的當起借閱情況,此外,還可以輸入相應(yīng)時間段內(nèi)的所有借閱清單,:系統(tǒng)中同時選中日期和限制條件進行查詢時 ,程序是在條件查詢的基礎(chǔ)上選中符合時間條件限制的內(nèi)容,其實現(xiàn)代碼為:if ( == 2) {
點擊復制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1